NavigatorBuilder<T extends NavigatorCubit> typedef Null safety

NavigatorBuilder<T extends NavigatorCubit> = T Function(BuildContext context)

A type of Function which takes a BuildContext and returns a subclass of NavigatorCubit

Implementation

typedef NavigatorBuilder<T extends NavigatorCubit> = T Function(
    BuildContext context);