mirror of
https://github.com/nisrulz/flutter-examples.git
synced 2025-11-09 13:09:03 +00:00
New example - Custom Drawer (#124)
* Added new example custom_home_drawer * Updating Package Name * Adding Screenshot
This commit is contained in:
21
custom_home_drawer/lib/main.dart
Normal file
21
custom_home_drawer/lib/main.dart
Normal file
@@ -0,0 +1,21 @@
|
||||
import 'package:custom_home_drawer/screen/home_screen.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
void main() {
|
||||
runApp(const MyApp());
|
||||
}
|
||||
|
||||
class MyApp extends StatelessWidget {
|
||||
const MyApp({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
title: 'Flutter Demo',
|
||||
theme: ThemeData(
|
||||
primarySwatch: Colors.blue,
|
||||
),
|
||||
home: const HomeScreen(),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user