import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; import 'package:diplomaticquarterapp/uitl/utils_new.dart'; import 'package:diplomaticquarterapp/widgets/others/app_expandable_notifier.dart'; import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; class MealPlanPage extends StatefulWidget { const MealPlanPage({Key key}) : super(key: key); @override State createState() => _MealPlanPageState(); } class _MealPlanPageState extends State { @override Widget build(BuildContext context) { return AppScaffold( isShowAppBar: true, isShowDecPage: false, showNewAppBarTitle: true, showNewAppBar: true, appBarTitle: TranslationBase.of(context).mealPlanTitle, body: SingleChildScrollView( child: Padding( padding: EdgeInsets.all(21.0), child: Column( children: [ Container( decoration: containerRadius(Colors.white, 12), child: AppExpandableNotifier( title: "Breakfast TAT: 10:00 AM", isTitleSingleLine: false, widgetColor: Colors.transparent, bodyWidget: Column( children: [ getDivider(), Container( height: 200.0, ), ], ), ), ), mHeight(21), Container( decoration: containerRadius(Colors.white, 12), child: AppExpandableNotifier( title: "Lunch TAT: 04:00 PM", isTitleSingleLine: false, widgetColor: Colors.transparent, bodyWidget: Column( children: [ getDivider(), Container( height: 200.0, ), ], ), ), ), mHeight(21), Container( decoration: containerRadius(Colors.white, 12), child: AppExpandableNotifier( title: "Dinner TAT: 12:00 AM", isTitleSingleLine: false, widgetColor: Colors.transparent, bodyWidget: Column( children: [ getDivider(), Container( height: 200.0, ), ], ), ), ), ], ), ), ), ); } Widget getDivider() { return Padding( padding: EdgeInsets.only(left: 15, right: 15), child: Divider( height: 1.5, thickness: 2.0, color: Colors.black, ), ); } }