mirror of https://github.com/flutter/samples.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
372 B
18 lines
372 B
6 years ago
|
import 'package:flutter_web/material.dart';
|
||
|
import 'main_page.dart';
|
||
|
|
||
|
void main() => runApp(MyApp());
|
||
|
|
||
|
class MyApp extends StatelessWidget {
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return MaterialApp(
|
||
|
title: 'Dad Jokes',
|
||
|
theme: ThemeData(
|
||
|
primarySwatch: Colors.deepOrange,
|
||
|
),
|
||
|
home: MainPage(title: 'Dad Jokes'),
|
||
|
);
|
||
|
}
|
||
|
}
|