update customer list
This commit is contained in:
@@ -44,7 +44,7 @@ class _CargoTableState extends State<CargoTable> {
|
||||
child: DataTable(
|
||||
showCheckboxColumn: false,
|
||||
headingRowHeight: 40,
|
||||
columnSpacing: 40,
|
||||
// columnSpacing: 40,
|
||||
decoration: BoxDecoration(border: Border.all(color: Colors.white)),
|
||||
border: TableBorder(horizontalInside: BorderSide(color: Colors.white)),
|
||||
columns: [
|
||||
|
||||
@@ -93,7 +93,7 @@ class _CustomerListState extends State<CustomerList> {
|
||||
BorderRadius.all(Radius.circular(35.0))),
|
||||
child: Text(
|
||||
customer.initial,
|
||||
style: TextStyle(fontSize: 30, color: Colors.white),
|
||||
style: TextStyle(fontSize: 20, color: Colors.white),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -109,7 +109,7 @@ class _CustomerListState extends State<CustomerList> {
|
||||
child: new Text(
|
||||
customer.name ?? "",
|
||||
style: new TextStyle(
|
||||
fontSize: 18.0, color: primaryColor),
|
||||
fontSize: 15.0, color: Colors.black),
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
@@ -130,39 +130,45 @@ class _CustomerListState extends State<CustomerList> {
|
||||
),
|
||||
customer.status == user_invited_status
|
||||
? Padding(
|
||||
padding: const EdgeInsets.only(right: 8.0),
|
||||
padding: const EdgeInsets.only(right: 10.0),
|
||||
child: SizedBox(
|
||||
height: 30,
|
||||
child: TextButton(
|
||||
onPressed: () => _share(customer),
|
||||
style: TextButton.styleFrom(
|
||||
padding: EdgeInsets.all(0),
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(20.0),
|
||||
side: BorderSide(color: primaryColor))),
|
||||
side: BorderSide(
|
||||
color: primaryColor.withOpacity(0.2)))),
|
||||
child: Row(
|
||||
children: [
|
||||
Text(
|
||||
"Share",
|
||||
style: TextStyle(fontSize: 12, color: primaryColor),
|
||||
style:
|
||||
TextStyle(fontSize: 12, color: primaryColor),
|
||||
),
|
||||
Icon(Icons.share, color: primaryColor),
|
||||
Icon(Icons.share, color: primaryColor, size: 17),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
)
|
||||
: Container(),
|
||||
Column(
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(right: 5),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.end,
|
||||
children: [
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(right: 5),
|
||||
child: _status(customer.status ?? ""),
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(right: 5),
|
||||
child: Text(customer.getLastMessageTime),
|
||||
_status(customer.status ?? ""),
|
||||
Text(
|
||||
customer.getLastMessageTime,
|
||||
style: TextStyle(color: Colors.grey, fontSize: 12),
|
||||
),
|
||||
getCount(customer),
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import 'dart:ui';
|
||||
|
||||
import 'package:country_code_picker/country_code_picker.dart';
|
||||
import 'package:fcs/helpers/theme.dart';
|
||||
import 'package:fcs/pages/customer/model/customer_model.dart';
|
||||
@@ -84,6 +86,10 @@ class _InvitationCreateState extends State<InvitationCreate> {
|
||||
showOnlyCountryWhenClosed: false,
|
||||
alignLeft: false,
|
||||
textStyle: TextStyle(fontSize: 16, color: Colors.black87),
|
||||
searchDecoration: InputDecoration(
|
||||
focusedBorder: UnderlineInputBorder(
|
||||
borderSide:
|
||||
BorderSide(color: Colors.black, width: 1.0))),
|
||||
),
|
||||
),
|
||||
SizedBox(
|
||||
|
||||
@@ -81,7 +81,10 @@ class _SigninPageState extends State<SigninPage> {
|
||||
showOnlyCountryWhenClosed: false,
|
||||
alignLeft: false,
|
||||
textStyle: TextStyle(fontSize: 16, color: Colors.black87),
|
||||
),
|
||||
searchDecoration: InputDecoration(
|
||||
focusedBorder: UnderlineInputBorder(
|
||||
borderSide:
|
||||
BorderSide(color: Colors.black, width: 1.0)))),
|
||||
),
|
||||
SizedBox(
|
||||
width: 10,
|
||||
|
||||
@@ -51,6 +51,7 @@ class _DialogInputState extends State<DialogInput> {
|
||||
controller: _controller,
|
||||
focusNode: _focusNode,
|
||||
autofocus: true,
|
||||
cursorColor: primaryColor,
|
||||
keyboardType: TextInputType.numberWithOptions(decimal: true),
|
||||
decoration: new InputDecoration(
|
||||
focusedBorder: UnderlineInputBorder(
|
||||
|
||||
@@ -133,6 +133,7 @@ class _LengthPickerDialogState extends State<LengthPickerDialog> {
|
||||
onChanged: _updateInputInch,
|
||||
textAlign: TextAlign.center,
|
||||
controller: inchInputController,
|
||||
cursorColor: primaryColor,
|
||||
keyboardType: TextInputType.numberWithOptions(
|
||||
signed: false, decimal: true),
|
||||
decoration: new InputDecoration(
|
||||
@@ -188,6 +189,7 @@ class _LengthPickerDialogState extends State<LengthPickerDialog> {
|
||||
controller: feetInputController,
|
||||
keyboardType: TextInputType.numberWithOptions(
|
||||
signed: false, decimal: true),
|
||||
cursorColor: primaryColor,
|
||||
decoration: new InputDecoration(
|
||||
contentPadding: EdgeInsets.all(10),
|
||||
isDense: true,
|
||||
@@ -286,7 +288,7 @@ class _LengthPickerDialogState extends State<LengthPickerDialog> {
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(top: 8.0, left: 8),
|
||||
padding: const EdgeInsets.only(top: 8.0, left: 15),
|
||||
child: LocalText(
|
||||
context,
|
||||
"inch",
|
||||
|
||||
Reference in New Issue
Block a user