Created
July 21, 2022 18:27
-
-
Save vijayinyoutube/a0816fb3be07ae19ff707835400300af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
appBar: AppBar( | |
title: const Text('Connectivity Checker'), | |
), | |
body: Center( | |
child: ElevatedButton( | |
onPressed: () => Navigator.push( | |
context, | |
MaterialPageRoute(builder: (context) => const SecondPage()), | |
), | |
child: const Text('Next Page'), | |
), | |
), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment