Skip to content

Instantly share code, notes, and snippets.

@AakashPandey
Created January 2, 2020 12:03
Show Gist options
  • Save AakashPandey/1052f1eb5400801b713ae54b3a83e630 to your computer and use it in GitHub Desktop.
Save AakashPandey/1052f1eb5400801b713ae54b3a83e630 to your computer and use it in GitHub Desktop.
import 'package:flutter/material.dart';
import './config/routes.dart';
import './config/themes.dart';
import './model/herodata.dart';
final HeroList allHeroesList = HeroList();
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Tour of Heroes',
theme: ThemeData(primarySwatch: Colors.blue, textTheme: myTextTheme()),
routes: routes,
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment