mirror of
https://github.com/nisrulz/flutter-examples.git
synced 2025-11-08 20:50:04 +00:00
New Example - Lunch App (#98)
This commit is contained in:
29
lunch_app/lib/main.dart
Normal file
29
lunch_app/lib/main.dart
Normal file
@@ -0,0 +1,29 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:lunch_app/views/prototype/food_detail_view.dart';
|
||||
|
||||
import 'views/prototype/home.dart';
|
||||
|
||||
void main() => runApp(LunchApp());
|
||||
|
||||
class LunchApp extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
debugShowCheckedModeBanner: false,
|
||||
theme: ThemeData(
|
||||
iconTheme: IconThemeData(
|
||||
color: Colors.white,
|
||||
),
|
||||
appBarTheme: AppBarTheme(
|
||||
elevation: 0,
|
||||
backgroundColor: Colors.transparent,
|
||||
titleTextStyle: TextStyle(
|
||||
color: Colors.black,
|
||||
),
|
||||
),
|
||||
),
|
||||
home: Home(),
|
||||
// home: FoodDetailView(),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user