|
|
|
|
@ -62,7 +62,7 @@ class _ToDoState extends State<ToDo> {
|
|
|
|
|
return AppScaffold(
|
|
|
|
|
appBarTitle: TranslationBase.of(context).todoList,
|
|
|
|
|
imagesInfo: imagesInfo,
|
|
|
|
|
isShowAppBar: true,
|
|
|
|
|
isShowAppBar: false,
|
|
|
|
|
description: TranslationBase.of(context).infoTodo,
|
|
|
|
|
body: SingleChildScrollView(
|
|
|
|
|
child: Column(
|
|
|
|
|
@ -212,17 +212,23 @@ class _ToDoState extends State<ToDo> {
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
child: CountdownTimer(
|
|
|
|
|
endTime: DateTime.now().millisecondsSinceEpoch +
|
|
|
|
|
endTime: DateTime.now()
|
|
|
|
|
.millisecondsSinceEpoch +
|
|
|
|
|
(widget.appoList[index]
|
|
|
|
|
.remaniningHoursTocanPay *
|
|
|
|
|
1000) *
|
|
|
|
|
.remaniningHoursTocanPay *
|
|
|
|
|
1000) *
|
|
|
|
|
60,
|
|
|
|
|
widgetBuilder: (_, CurrentRemainingTime time) {
|
|
|
|
|
widgetBuilder:
|
|
|
|
|
(_, CurrentRemainingTime time) {
|
|
|
|
|
return Text(
|
|
|
|
|
'${time.days}:${time.hours}:${time.min}:${time.sec} ' + TranslationBase.of(context).upcomingTimeLeft,
|
|
|
|
|
'${time.days}:${time.hours}:${time.min}:${time.sec} ' +
|
|
|
|
|
TranslationBase.of(
|
|
|
|
|
context)
|
|
|
|
|
.upcomingTimeLeft,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 12.0,
|
|
|
|
|
color: Color(0xff40ACC9)));
|
|
|
|
|
color:
|
|
|
|
|
Color(0xff40ACC9)));
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
@ -529,7 +535,7 @@ class _ToDoState extends State<ToDo> {
|
|
|
|
|
}).catchError((err) {
|
|
|
|
|
print(err);
|
|
|
|
|
GifLoaderDialogUtils.hideDialog(context);
|
|
|
|
|
AppToast.showErrorToast(message: err);
|
|
|
|
|
err != null ?? AppToast.showErrorToast(message: err);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|