LoadableWidgetBuilder typedef

LoadableWidgetBuilder = Widget Function(BuildContext context, bool loading, Widget? child)

Signature for a function that builds a widget given the loading state.

Used by LogicLoader.builder.

Implementation

typedef LoadableWidgetBuilder = Widget Function(
  BuildContext context,
  bool loading,
  Widget? child,
);