GuardBuilder<T> constructor

GuardBuilder<T>(
  1. LiveData<T> lv, {
  2. Key? key,
  3. required bool when(
    1. T value
    ),
  4. required Widget build(
    1. BuildContext context,
    2. 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,
      );