Last active
March 22, 2021 11:04
-
-
Save wilburx9/bfe2f0ff95db5bad0f2014ba20f5638c to your computer and use it in GitHub Desktop.
The starting point of your Flutter App
This file contains hidden or 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'; | |
import 'package:news_aggreator/home_page.dart' | |
void main() => runApp(new MyApp()); | |
class MyApp extends StatelessWidget { | |
// This widget is the root of your application. | |
@override | |
Widget build(BuildContext context) { | |
return new MaterialApp( | |
title: "News Aggregator", | |
theme: new ThemeData( | |
// This is the theme of your application. | |
primarySwatch: Colors.deepOrange, | |
accentColor: Colors.blueAccent | |
), | |
home: new MyHomePage(title: "News Aggregator"), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment