|
|
|
@ -10,7 +10,6 @@ import 'package:doctor_app_flutter/widgets/shared/TextFields.dart';
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/app_scaffold_widget.dart';
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/app_scaffold_widget.dart';
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/app_texts_widget.dart';
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/app_texts_widget.dart';
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/buttons/app_buttons_widget.dart';
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/buttons/app_buttons_widget.dart';
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/divider_with_spaces_around.dart';
|
|
|
|
|
|
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
|
|
|
|
@ -37,7 +36,8 @@ class _ProcedureCheckOutScreenState extends State<ProcedureCheckOutScreen> {
|
|
|
|
AppScaffold(
|
|
|
|
AppScaffold(
|
|
|
|
backgroundColor: Color(0xffF8F8F8).withOpacity(0.9),
|
|
|
|
backgroundColor: Color(0xffF8F8F8).withOpacity(0.9),
|
|
|
|
isShowAppBar: false,
|
|
|
|
isShowAppBar: false,
|
|
|
|
body: Column(
|
|
|
|
body: SingleChildScrollView(
|
|
|
|
|
|
|
|
child: Column(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
Container(
|
|
|
|
height: MediaQuery.of(context).size.height * 0.070,
|
|
|
|
height: MediaQuery.of(context).size.height * 0.070,
|
|
|
|
@ -71,16 +71,8 @@ class _ProcedureCheckOutScreenState extends State<ProcedureCheckOutScreen> {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Padding(
|
|
|
|
SizedBox(height: 30,),
|
|
|
|
padding: const EdgeInsets.only(
|
|
|
|
...List.generate(widget.items.length, (index) => Container(
|
|
|
|
left: 12.0, right: 12.0, bottom: 26.0, top: 10),
|
|
|
|
|
|
|
|
child: ListView.builder(
|
|
|
|
|
|
|
|
scrollDirection: Axis.vertical,
|
|
|
|
|
|
|
|
physics: AlwaysScrollableScrollPhysics(),
|
|
|
|
|
|
|
|
shrinkWrap: true,
|
|
|
|
|
|
|
|
itemCount: widget.items.length,
|
|
|
|
|
|
|
|
itemBuilder: (BuildContext context, int index) {
|
|
|
|
|
|
|
|
return Container(
|
|
|
|
|
|
|
|
margin: EdgeInsets.only(bottom: 15.0),
|
|
|
|
margin: EdgeInsets.only(bottom: 15.0),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
color: Colors.white,
|
|
|
|
color: Colors.white,
|
|
|
|
@ -191,11 +183,13 @@ class _ProcedureCheckOutScreenState extends State<ProcedureCheckOutScreen> {
|
|
|
|
//DividerWithSpacesAround(),
|
|
|
|
//DividerWithSpacesAround(),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
)),
|
|
|
|
}),
|
|
|
|
SizedBox(height: 90,),
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
bottomSheet: Container(
|
|
|
|
bottomSheet: Container(
|
|
|
|
margin: EdgeInsets.all(SizeConfig.widthMultiplier * 5),
|
|
|
|
margin: EdgeInsets.all(SizeConfig.widthMultiplier * 5),
|
|
|
|
child: Wrap(
|
|
|
|
child: Wrap(
|
|
|
|
@ -206,15 +200,6 @@ class _ProcedureCheckOutScreenState extends State<ProcedureCheckOutScreen> {
|
|
|
|
color: Color(0xff359846),
|
|
|
|
color: Color(0xff359846),
|
|
|
|
fontWeight: FontWeight.w700,
|
|
|
|
fontWeight: FontWeight.w700,
|
|
|
|
onPressed: () async {
|
|
|
|
onPressed: () async {
|
|
|
|
//print(entityList.toString());
|
|
|
|
|
|
|
|
onPressed:
|
|
|
|
|
|
|
|
// if (entityList.isEmpty == true) {
|
|
|
|
|
|
|
|
// DrAppToastMsg.showErrorToast(
|
|
|
|
|
|
|
|
// TranslationBase.of(context)
|
|
|
|
|
|
|
|
// .fillTheMandatoryProcedureDetails,
|
|
|
|
|
|
|
|
// );
|
|
|
|
|
|
|
|
// return;
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
List<EntityList> entityList = List();
|
|
|
|
List<EntityList> entityList = List();
|
|
|
|
widget.items.forEach((element) {
|
|
|
|
widget.items.forEach((element) {
|
|
|
|
entityList.add(
|
|
|
|
entityList.add(
|
|
|
|
|