import 'package:doctor_app_flutter/util/translations_delegate_base.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:flutter/material.dart'; class ObjectivePage extends StatelessWidget { final Function changePageViewIndex; ObjectivePage({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: [ AppButton( title: TranslationBase.of(context).next, onPressed: () { changePageViewIndex(2); }, ), ], ), ), ), )); } }