rename shipment
This commit is contained in:
@@ -2,6 +2,7 @@ import 'package:country_code_picker/country_code_picker.dart';
|
||||
import 'package:fcs/helpers/theme.dart';
|
||||
import 'package:fcs/pages/customer/model/customer_model.dart';
|
||||
import 'package:fcs/pages/main/util.dart';
|
||||
import 'package:fcs/pages/widgets/input_text.dart';
|
||||
import 'package:fcs/pages/widgets/local_text.dart';
|
||||
import 'package:fcs/pages/widgets/progress.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
@@ -32,6 +33,11 @@ class _InvitationCreateState extends State<InvitationCreate> {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final nameBox = InputText(
|
||||
labelTextKey: 'customer.name',
|
||||
iconData: Icons.person,
|
||||
controller: _nameController);
|
||||
|
||||
return LocalProgress(
|
||||
inAsyncCall: _isLoading,
|
||||
child: Scaffold(
|
||||
@@ -57,8 +63,7 @@ class _InvitationCreateState extends State<InvitationCreate> {
|
||||
padding: EdgeInsets.all(18),
|
||||
child: ListView(
|
||||
children: <Widget>[
|
||||
fcsInput(getLocalString(context, "customer.name"), Icons.person,
|
||||
controller: _nameController, autoFocus: false),
|
||||
nameBox,
|
||||
SizedBox(height: 10),
|
||||
Row(
|
||||
children: <Widget>[
|
||||
|
||||
Reference in New Issue
Block a user