Skip to content

Instantly share code, notes, and snippets.

@wilburx9
Last active March 22, 2021 11:04
Show Gist options
  • Save wilburx9/bfe2f0ff95db5bad0f2014ba20f5638c to your computer and use it in GitHub Desktop.
Save wilburx9/bfe2f0ff95db5bad0f2014ba20f5638c to your computer and use it in GitHub Desktop.
The starting point of your Flutter App
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