insert invoice pages

This commit is contained in:
Thinzar Win
2020-06-02 14:56:51 +06:30
parent abb34ce064
commit 7a8f28dd33
23 changed files with 1366 additions and 200 deletions

View File

@@ -3,6 +3,7 @@ import 'dart:async';
import 'package:fcs/model/main_model.dart';
import 'package:fcs/model/shared_pref.dart';
import 'package:fcs/vo/user.dart';
import 'package:fcs/widget/bottom_up_page_route.dart';
import 'package:flutter/material.dart';
import 'package:pin_input_text_field/pin_input_text_field.dart';
import 'package:provider/provider.dart';
@@ -191,10 +192,7 @@ class _CodePageState extends State<CodePage> {
_verify() async {
Provider.of<MainModel>(context).saveUser(pin, widget.phoneNumber);
await Navigator.push(
context,
MaterialPageRoute(builder: (context) => UserEditPage()),
);
await Navigator.of(context).push(BottomUpPageRoute(UserEditPage()));
Navigator.pop(context);
}