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