SheetListenerBuilder constructor

const SheetListenerBuilder({
  1. Key? key,
  2. required Widget builder(
    1. BuildContext context,
    2. SheetState state
    ),
  3. bool buildWhen(
    1. SheetState oldState,
    2. SheetState newState
    )?,
})

Creates a widget that can be used to react to changes in the SheetState of a SlidingSheet.

Implementation

const SheetListenerBuilder({
  Key? key,
  required this.builder,
  this.buildWhen,
}) : super(key: key);