Экран сканера
This commit is contained in:
@@ -21,6 +21,9 @@ const String splash_png = 'assets/splash.png';
|
||||
const String logout_png = 'assets/logout.png';
|
||||
const String activate_token_bg_png = 'assets/activate_token_message_background.png';
|
||||
|
||||
|
||||
// Colors
|
||||
const int primaryColor = 0xffeb0004;
|
||||
final httpClient = createHttpClient();
|
||||
|
||||
void main() {
|
||||
@@ -64,7 +67,7 @@ startScanner() async{
|
||||
/// Навигация по приложению.
|
||||
/// widget - следующий экран приложения.
|
||||
pushRoute(BuildContext context, Widget widget) {
|
||||
Navigator.of(context).push(new MaterialPageRoute<Null>(
|
||||
Navigator.of(context).pushReplacement(new MaterialPageRoute<Null>(
|
||||
builder: (BuildContext context) {
|
||||
return widget;
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user