Created
April 27, 2020 18:57
-
-
Save karan-ta/2f508a1ccb61c39af04036e672899b72 to your computer and use it in GitHub Desktop.
helloflutterscaffold
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
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(new HelloWorldText()); | |
} | |
class HelloWorldText extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
home: Scaffold( | |
appBar: AppBar( | |
title: Text('Hello World Example'), | |
), | |
body: Center( | |
child: Text('Hello World'), | |
), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment