insert shipment form
This commit is contained in:
@@ -7,7 +7,6 @@ import 'package:flutter/material.dart';
|
||||
import 'package:pin_input_text_field/pin_input_text_field.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
||||
import '../theme/theme.dart';
|
||||
import '../theme/theme.dart';
|
||||
import '../widget/local_text.dart';
|
||||
import '../widget/progress.dart';
|
||||
@@ -66,6 +65,11 @@ class _CodePageState extends State<CodePage> {
|
||||
inAsyncCall: _isLoading,
|
||||
child: Scaffold(
|
||||
appBar: AppBar(
|
||||
centerTitle: true,
|
||||
leading: new IconButton(
|
||||
icon: new Icon(Icons.close),
|
||||
onPressed: () => Navigator.of(context).pop(),
|
||||
),
|
||||
backgroundColor: primaryColor,
|
||||
),
|
||||
body: ListView(
|
||||
@@ -82,7 +86,7 @@ class _CodePageState extends State<CodePage> {
|
||||
context,
|
||||
'singup.verify.title',
|
||||
fontSize: 21,
|
||||
color: secondaryColor,
|
||||
color: primaryColor,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
),
|
||||
@@ -161,6 +165,7 @@ class _CodePageState extends State<CodePage> {
|
||||
'login.smscode.retry',
|
||||
fontSize: 15,
|
||||
translationVariables: [_start.toString()],
|
||||
color: primaryColor,
|
||||
),
|
||||
],
|
||||
),
|
||||
@@ -185,7 +190,7 @@ class _CodePageState extends State<CodePage> {
|
||||
_resend() async {}
|
||||
|
||||
_verify() async {
|
||||
Provider.of<MainModel>(context).saveUser(pin,widget.phoneNumber);
|
||||
Provider.of<MainModel>(context).saveUser(pin, widget.phoneNumber);
|
||||
await Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(builder: (context) => UserEditPage()),
|
||||
|
||||
Reference in New Issue
Block a user