EnhancedSliverBuilder<T> typedef

EnhancedSliverBuilder<T> = Widget Function(BuildContext context, List<T> data)

Defines a typedef for a function that builds a sliver widget with enhanced properties.

The EnhancedSliverBuilder function takes in the following parameters:

  • context: The build context for the widget.
  • data: A list of type T representing the data to be displayed.

The EnhancedSliverBuilder function returns a Widget that represents the built sliver widget.

Implementation

typedef EnhancedSliverBuilder<T> = Widget Function(
  BuildContext context,
  List<T> data,
);