$true<T extends bool> function
BaseBLoCWidget<T>
$true<T extends bool>({
- Key? key,
- required Widget build(
- BuildContext context,
- T value
Implementation
BaseBLoCWidget<T> $true<T extends bool>({
Key? key,
required Widget Function(BuildContext context, T value) build,
}) {
return CaseBLoCWidget<T>(
key: key,
predicate: (T value) => value,
builder: build,
);
}