Bucket constructor

Bucket({
  1. required Widget child,
  2. Decoration? decoration,
  3. Widget? drawer,
  4. bool enableBucketDragGesture = true,
  5. void onBucketChange(
    1. bool
    )?,
  6. Key? key,
})

Bucket Widget, a new Material widget that provides you a simple and pretty way to send your main menu behind of screen. To take full advantages of this we recommend you to set a RouterWidget as his child.

Implementation

Bucket(
    {required this.child,
    this.decoration,
    this.drawer,
    this.enableBucketDragGesture = true,
    this.onBucketChange,
    Key? key})
    : super(key: key);