VisibleNotifierWidget constructor

const VisibleNotifierWidget({
  1. Key? key,
  2. dynamic data,
  3. Widget? child,
  4. bool condition(
    1. ScrollNotification? previousNotification,
    2. PositionData? previousPositionData,
    3. ScrollNotification? currentNotification,
    4. PositionData? currentPositionData,
    )?,
  5. void listener(
    1. BuildContext context,
    2. ScrollNotification? notification,
    3. PositionData? positionData
    )?,
  6. Widget builder(
    1. BuildContext context,
    2. ScrollNotification? notification,
    3. PositionData? positionData
    )?,
})

Implementation

const VisibleNotifierWidget({
  Key? key,
  this.data,
  this.child,
  this.condition,
  this.listener,
  this.builder,
})  : assert(!(child != null && builder != null)),
      super(key: key);