add signin function
This commit is contained in:
@@ -3,7 +3,7 @@ import 'package:provider/provider.dart';
|
||||
import 'package:fcs/model/language_model.dart';
|
||||
import 'package:fcs/model/storage_model.dart';
|
||||
import 'package:fcs/pages/util.dart';
|
||||
import 'package:fcs/theme/theme.dart';
|
||||
import 'package:fcs/fcs/common/theme.dart';
|
||||
import 'package:fcs/vo/storage.dart';
|
||||
import 'package:fcs/widget/local_text.dart';
|
||||
import 'package:fcs/widget/localization/app_translations.dart';
|
||||
@@ -39,14 +39,20 @@ class _StorageAdditionState extends State<StorageAddition> {
|
||||
child: Scaffold(
|
||||
appBar: AppBar(
|
||||
backgroundColor: primaryColor,
|
||||
title: LocalText(context, "storage.item.title",color: Colors.white,fontSize: 20,),
|
||||
title: LocalText(
|
||||
context,
|
||||
"storage.item.title",
|
||||
color: Colors.white,
|
||||
fontSize: 20,
|
||||
),
|
||||
actions: <Widget>[
|
||||
widget.storage == null
|
||||
? Container()
|
||||
: IconButton(
|
||||
icon: Icon(Icons.delete),
|
||||
onPressed: () {
|
||||
showConfirmDialog(context, "storage.delete_confirm", () {
|
||||
showConfirmDialog(context, "storage.delete_confirm",
|
||||
() {
|
||||
_delete(context);
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user