typedefs library

Typedefs

BuildContextValueBuilder<T> = Widget Function(BuildContext context, T value)
The type of a function which takes both a build context and a value.
ContextCallback = void Function(BuildContext innerContext)
The type of a function which receives a build context as its only argument.
ErrorWidgetCallback = Widget Function(Object error, StackTrace? stackTrace)
The type of a function which produces an error widget.
OnTransition = void Function(Duration duration, WidgetBuilder builder)
The type of a function to instigate a transition.