CommandBuilder<TParam, TResult> constructor
const
CommandBuilder<TParam, TResult> ({
- required Command<
TParam, TResult> command, - Widget onData(
- BuildContext context,
- TResult data,
- TParam? param
- Widget onNullData(
- BuildContext context,
- TParam? param
- Widget whileExecuting(
- BuildContext context,
- TResult? lastValue,
- TParam? param
- Widget onError(
- BuildContext context,
- Object?,
- TResult? lastValue,
- TParam?,
- Key? key,
Implementation
const CommandBuilder({
required this.command,
this.onData,
this.onNullData,
this.whileExecuting,
this.onError,
super.key,
});