Created
September 16, 2020 07:24
-
-
Save richard457/9ec3c57d69c893cfbffd5412b3ecb0fe to your computer and use it in GitHub Desktop.
Text does not start on the same line.
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'; | |
final Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
void main() { | |
runApp(MyApp()); | |
} | |
class User{ | |
List<String> numbers; | |
} | |
class MyApp extends StatefulWidget { | |
@override | |
_MyAppState createState() => _MyAppState(); | |
} | |
class _MyAppState extends State<MyApp> { | |
User user = User(); | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
theme: ThemeData.dark().copyWith(scaffoldBackgroundColor: darkBlue), | |
debugShowCheckedModeBanner: false, | |
home: Scaffold( | |
body: Column(children:[ | |
Text('hello world...kfjfjfjfjfjfjfjfjfjfjfjfjfjfjfjfjf'), | |
Text('hello world..'), | |
]), | |
), | |
); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DART PAD