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

A customized drawer for your flutter app

lining_drawer #

A customized drawer for your flutter apps.

Preview #

Installation and usage #

Add package to your pubspec:

dependencies:
  lining_drawer: any # or the latest version on Pub

USAGE #


import 'package:lining_drawer/lining_drawer.dart';

...

final LiningDrawerController _controller = LiningDrawerController();

...
LiningDrawer(
  direction: isRTL
      ? DrawerDirection.fromRightToLeft
      : DrawerDirection.fromLeftToRight,
  openDuration: const Duration(milliseconds: 250),
  controller: _controller,
  drawer: yourDrawerWidget(),
  child: Scaffold(),
  // openDuration: const Duration(milliseconds: 250),
  // closeDuration: const Duration(milliseconds: 250),
  // style: const LiningDrawerStyle(
  //   bottomColor: Color(0xFF3a3b3c),
  //   middleColor: Colors.red,
  //   mainColor: Colors.white,
  //   bottomOpenRatio: 1.0,
  //   middleOpenRatio: 0.90,
  //   mainOpenratio: 0.82,
  // ).....
  
);

6
likes
150
pub points
0%
popularity

Publisher

verified publisheriheb.tech

A customized drawer for your flutter app

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on lining_drawer