Last updated:
0 purchases
flutter drawer x
Flutter Drawer #
Drawer package lets you add a beautiful drawer to your Flutter app.
Installation #
Add the latest version of package to your pubspec.yaml (and run'dart pub get'):
dependencies:
flutter_drawer_x: ^0.0.1
copied to clipboard
Import the package and use it in your Flutter App.
import 'package:flutter_drawer_x/flutter_drawer_x.dart';
copied to clipboard
Example #
These are the properties that you can modify:
title
gradient (color1 and color2)
class FlutterDrawer extends StatelessWidget {
const FlutterDrawer({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: const FlutterDrawer(
title: 'Implement Flutter Package',
color1: Colors.indigo,
color2: Colors.white,
),
),
);
}
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.