add signin function

This commit is contained in:
Sai Naw Wun
2020-08-30 21:26:37 +06:30
parent 76155a10e8
commit 10338bbfe9
176 changed files with 664 additions and 756 deletions

View File

@@ -2,7 +2,7 @@ import 'package:fcs/model/discount_model.dart';
import 'package:fcs/model/main_model.dart';
import 'package:fcs/model_fcs/box_model.dart';
import 'package:fcs/pages/invoice/package_addition.dart';
import 'package:fcs/theme/theme.dart';
import 'package:fcs/fcs/common/theme.dart';
import 'package:fcs/vo/box.dart';
import 'package:fcs/vo/cargo.dart';
import 'package:fcs/vo/invoice.dart';
@@ -173,8 +173,9 @@ class _InvoiceEditorState extends State<InvoiceEditor> {
decoration: InputDecoration(
fillColor: Colors.white,
labelText: 'Invoice Date',
labelStyle:
TextStyle(fontSize: 16,),
labelStyle: TextStyle(
fontSize: 16,
),
filled: true,
enabledBorder: InputBorder.none,
focusedBorder: InputBorder.none,
@@ -194,7 +195,8 @@ class _InvoiceEditorState extends State<InvoiceEditor> {
fillColor: Colors.white,
labelText: 'Invoice Number',
labelStyle: TextStyle(
fontSize: 16,),
fontSize: 16,
),
filled: true,
enabledBorder: InputBorder.none,
focusedBorder: InputBorder.none,
@@ -213,8 +215,9 @@ class _InvoiceEditorState extends State<InvoiceEditor> {
decoration: InputDecoration(
fillColor: Colors.white,
labelText: 'Customer Name',
labelStyle:
TextStyle(fontSize: 16,),
labelStyle: TextStyle(
fontSize: 16,
),
filled: true,
focusedBorder: UnderlineInputBorder(
borderSide: BorderSide(
@@ -243,7 +246,8 @@ class _InvoiceEditorState extends State<InvoiceEditor> {
fillColor: Colors.white,
labelText: 'Customer Name',
labelStyle: TextStyle(
fontSize: 16,),
fontSize: 16,
),
filled: true,
enabledBorder: InputBorder.none,
focusedBorder: InputBorder.none,
@@ -288,7 +292,8 @@ class _InvoiceEditorState extends State<InvoiceEditor> {
fillColor: Colors.white,
labelText: 'Status',
labelStyle: TextStyle(
fontSize: 16, ),
fontSize: 16,
),
filled: true,
enabledBorder: InputBorder.none,
focusedBorder: InputBorder.none,
@@ -307,8 +312,9 @@ class _InvoiceEditorState extends State<InvoiceEditor> {
decoration: InputDecoration(
fillColor: Colors.white,
labelText: 'Amount',
labelStyle:
TextStyle(fontSize: 16,),
labelStyle: TextStyle(
fontSize: 16,
),
filled: true,
enabledBorder: InputBorder.none,
focusedBorder: InputBorder.none,
@@ -327,8 +333,9 @@ class _InvoiceEditorState extends State<InvoiceEditor> {
decoration: InputDecoration(
fillColor: Colors.white,
labelText: 'Balance',
labelStyle:
TextStyle(fontSize: 16, ),
labelStyle: TextStyle(
fontSize: 16,
),
filled: true,
enabledBorder: InputBorder.none,
focusedBorder: InputBorder.none,
@@ -347,8 +354,9 @@ class _InvoiceEditorState extends State<InvoiceEditor> {
decoration: InputDecoration(
fillColor: Colors.white,
labelText: 'Handling Fee',
labelStyle:
TextStyle(fontSize: 16,),
labelStyle: TextStyle(
fontSize: 16,
),
filled: true,
enabledBorder: InputBorder.none,
focusedBorder: InputBorder.none,
@@ -367,8 +375,9 @@ class _InvoiceEditorState extends State<InvoiceEditor> {
decoration: InputDecoration(
fillColor: Colors.white,
labelText: 'Customs Fee',
labelStyle:
TextStyle(fontSize: 16,),
labelStyle: TextStyle(
fontSize: 16,
),
filled: true,
icon: Icon(
FontAwesomeIcons.moneyBill,
@@ -388,8 +397,9 @@ class _InvoiceEditorState extends State<InvoiceEditor> {
decoration: InputDecoration(
fillColor: Colors.white,
labelText: 'Customs Fee Description',
labelStyle:
TextStyle(fontSize: 16,),
labelStyle: TextStyle(
fontSize: 16,
),
filled: true,
icon: Icon(
Icons.comment,