Dispose<T> typedef

void Dispose (
  1. BuildContext context,
  2. 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);