LoginPage #3

Merged
adli7087 merged 3 commits from LoginPage into master 2022-05-09 14:20:50 +02:00
Showing only changes of commit c66ef6020f - Show all commits

View File

@ -1,5 +1,6 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'BottomNavPage.dart'; import 'BottomNavPage.dart';
import 'package:flutter_applicationdemo/LoginPage.dart';
class HomePage extends StatefulWidget { class HomePage extends StatefulWidget {
const HomePage({Key? key}) : super(key: key); const HomePage({Key? key}) : super(key: key);
@ -93,7 +94,7 @@ class _HomePageState extends State<HomePage> {
onPressed: () { onPressed: () {
Navigator.push( Navigator.push(
context, context,
MaterialPageRoute(builder: (context) => Container()), //Replace Container() with call to Map-page. MaterialPageRoute(builder: (context) => LoginPage()), //Replace Container() with call to Map-page.
); );
}, },
child: const Text('Sign in', child: const Text('Sign in',