StateProvider<T extends UnitedState<Object>> constructor

StateProvider<T extends UnitedState<Object>>({
  1. Widget? child,
  2. required T create(
    1. BuildContext context
    ),
  3. Key? key,
})

Implementation

StateProvider({
  Widget? child,
  required T Function(BuildContext context) create,
  Key? key,
}) : super(child: child, create: create, key: key);