Dispose<T> typedef

Dispose<T> = void Function(BuildContext context, T value)

A function that disposes an object of type T.

See also:

  • Create, to create a value that will later be disposed of.

Implementation

typedef Dispose<T> = void Function(BuildContext context, T value);