flutter_sliding_drawer 1.0.0 flutter_sliding_drawer: ^1.0.0 copied to clipboard
flutter_sliding_drawer package was created for nice and convenient way to show drawer with sliding animation.
import 'package:flutter/material.dart';
import 'package:flutter_sliding_drawer_example/main_page.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: Builder(
builder: (context) {
return const MainPage();
},
),
);
}
}