flutter_drawer_x 0.0.1 copy "flutter_drawer_x: ^0.0.1" to clipboard
flutter_drawer_x: ^0.0.1 copied to clipboard

A flutter drawer for your application to reuse it and make your app efficient.

Flutter Drawer #

Drawer package lets you add a beautiful drawer to your Flutter app.

Installation #

  1. Add the latest version of package to your pubspec.yaml (and run'dart pub get'):
dependencies:
    flutter_drawer_x: ^0.0.1
  1. Import the package and use it in your Flutter App.
import 'package:flutter_drawer_x/flutter_drawer_x.dart';

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,  
        ),  
      ),  
    );  
  }  
}
0
likes
110
pub points
0%
popularity

Publisher

unverified uploader

A flutter drawer for your application to reuse it and make your app efficient.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

flutter

More

Packages that depend on flutter_drawer_x