Inheritable<T> constructor

const Inheritable<T>({
  1. required T value,
  2. Key? key,
  3. Widget? child,
})

Create an access point in widget tree to supply value to descendants.

Optionally specify onRequestUpdate

Implementation

const Inheritable({
  required T value,
  Key? key,
  Widget? child,
}) : this._(
        value: value,
        key: key,
        overrides: const {},
        child: child,
      );