GuardBuilder<T> constructor
GuardBuilder<T> (
- LiveData<
T> lv, { - Key? key,
- required bool when(
- T value
- required Widget build(
- BuildContext context,
- T value
Implementation
GuardBuilder(
LiveData<T> lv, {
Key? key,
required bool Function(T value) when,
required Widget Function(BuildContext context, T value) build,
}) : super(
key: key,
liveData: lv,
when: when,
builder: build,
);