Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MyApp extends StatelessWidget {
- @override
- Widget build(BuildContext context) {
- return MaterialApp(
- title: 'Smart recipes',
- theme: ThemeData(
- fontFamily: 'Calibri',
- primarySwatch: Colors.blue,
- ),
- home: Scaffold(
- backgroundColor: Colors.grey[200],
- body: ListView(
- children: <Widget>[
- CustomAppbar(),
- Padding(
- padding: const EdgeInsets.symmetric(horizontal: 20),
- child: RecipeWidget(),
- ),
- SizedBox(height: 50,),
- Container(
- padding: EdgeInsets.symmetric(horizontal: 20),
- child: Text(
- 'Cuisine classification',
- style: TextStyle(fontWeight: FontWeight.bold, fontSize: 40),
- ),
- ),
- SizedBox(height: 20,),
- Padding(
- padding: const EdgeInsets.symmetric(horizontal: 20),
- child: Row(
- children: <Widget>[
- CuisineClassWidget(cuisine: 'Homemade cakes', cuisineImage: 'images/cake2.png',),
- SizedBox(width: 20,),
- CuisineClassWidget(cuisine: 'Nutritious lunch', cuisineImage: 'images/meal.png',),
- ],
- ),
- )
- ],
- ),
- ),
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement