Created
October 24, 2020 17:47
-
-
Save nawalhmw/206c7e6fc8a90196baaa62c1d5f41fee 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
//this code belongs to https://fluttercompletereference.com/ | |
//Chapter 17: Advanced HTTP | |
//****************************************************************************** | |
void main() => runApp(DemoApp()); | |
class DemoApp extends StatelessWidget { | |
const DemoApp(); | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
home: Scaffold( | |
appBar: AppBar( | |
title: const Text("Download Demo"), | |
), | |
body: Center( | |
child: const FetchDataPage(), | |
) | |
) | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment