BoxWidgetBuilder<T> typedef

  1. @Deprecated('Use [ValueListenableBuilder] and `box.listenable()` instead')
BoxWidgetBuilder<T> = Widget Function(BuildContext context, Box<T> box)

Signature for a function that builds a widget given a Box.

Implementation

@Deprecated('Use [ValueListenableBuilder] and `box.listenable()` instead')
typedef BoxWidgetBuilder<T> = Widget Function(BuildContext context, Box<T> box);