import 'package:doctor_app_flutter/config/config.dart'; import 'package:doctor_app_flutter/util/translations_delegate_base.dart'; import 'package:doctor_app_flutter/widgets/shared/Text.dart'; import 'package:doctor_app_flutter/widgets/shared/app_buttons_widget.dart'; import 'package:doctor_app_flutter/widgets/shared/app_scaffold_widget.dart'; import 'package:eva_icons_flutter/eva_icons_flutter.dart'; import 'package:flutter/material.dart'; import 'package:font_awesome_flutter/font_awesome_flutter.dart'; class SubjectivePage extends StatelessWidget { final Function changePageViewIndex; SubjectivePage({Key key, this.changePageViewIndex}); @override Widget build(BuildContext context) { return AppScaffold( isShowAppBar: false, // baseViewModel: widget.model, body: SingleChildScrollView( physics: ScrollPhysics(), child: Center( child: FractionallySizedBox( widthFactor: 0.9, child: Column( mainAxisAlignment: MainAxisAlignment.start, children: [ SizedBox(height: 30,), Row(children: [ Row( children: [ Texts('ASSESSMENT', variant: "bodyText", bold: true, color: Colors.black), Icon(FontAwesomeIcons.asterisk, color: AppGlobal.appPrimaryColor, size: 12, ) ], ), Icon(EvaIcons.plus) ],), AppButton( title: TranslationBase.of(context).next, onPressed: () { changePageViewIndex(1); }, ), ], ), ), ), )); } }