insert shipment form

This commit is contained in:
Thinzar Win
2020-06-01 14:24:45 +06:30
parent cb88e7b65c
commit 2e84ab17b9
20 changed files with 918 additions and 353 deletions

View File

@@ -3,7 +3,6 @@ import 'package:intl/intl.dart';
import 'package:provider/provider.dart';
import 'package:fcs/model/notification_model.dart';
import 'package:fcs/vo/notification.dart' as Noti;
import 'package:fcs/widget/localization/app_translations.dart';
import 'package:fcs/widget/progress.dart';
import '../theme/theme.dart';
@@ -33,14 +32,16 @@ class _NotificationListState extends State<NotificationList> {
appBar: AppBar(
centerTitle: true,
leading: new IconButton(
icon: new Icon(Icons.close, ),
icon: new Icon(
Icons.close,
),
onPressed: () => Navigator.of(context).pop(),
),
backgroundColor: primaryColor,
title: LocalText(
context,
'noti.title',
fontSize: 18,
'noti.list.title',
fontSize: 20,
color: Colors.white,
),
),
@@ -65,12 +66,11 @@ class _NotificationListState extends State<NotificationList> {
padding: const EdgeInsets.symmetric(vertical: 10.0),
child: new Row(
children: <Widget>[
// new Padding(
// padding: new EdgeInsets.symmetric(
// horizontal: 32.0 - dotSize / 2),
// child: Icon(Icons.message),
// ),
new Padding(padding: EdgeInsets.only(left: 10)),
new Padding(
padding: new EdgeInsets.symmetric(
horizontal: 32.0 - dotSize / 2),
child: Icon(Icons.message,color: primaryColor,),
),
new Expanded(
child: new Column(
crossAxisAlignment:
@@ -85,20 +85,24 @@ class _NotificationListState extends State<NotificationList> {
noti.marketPlace == null
? Container()
: Padding(
padding: const EdgeInsets.only(top:8.0),
child: new Text(
padding: const EdgeInsets.only(
top: 8.0),
child: new Text(
noti.marketPlace,
style: new TextStyle(
fontSize: 15.0,
color: primaryColor),
),
),
),
Padding(
padding: const EdgeInsets.only(top:8.0),
padding:
const EdgeInsets.only(top: 8.0),
child: new Text(
noti.status == null ? "" : noti.status,
noti.status == null
? ""
: noti.status,
style: new TextStyle(
fontSize: 16.0,
fontSize: 15.0,
color: Colors.grey),
),
),
@@ -123,7 +127,7 @@ class _NotificationListState extends State<NotificationList> {
)
],
),
),
),
],
);
}),