RestartWidget<T> constructor
const
RestartWidget<T> ({
- required Widget builder(
- BuildContext,
- T
- T? initial,
- Color? backgroundColor,
- Key? key,
Implementation
const RestartWidget({
required Widget Function(BuildContext, T) builder,
this.initial,
this.backgroundColor,
Key? key,
}) : _builder = builder,
super(key: key);