Create<T> typedef Null safety

Create<T> = T Function(BuildContext context)

A function that creates an object of type T.

See also:

  • Dispose, to free the resources associated to the value created.

Implementation

typedef Create<T> = T Function(BuildContext context);