IndexNotifierProvider constructor

IndexNotifierProvider({
  1. required IndexModel model,
  2. required Widget child,
  3. Key? key,
})

Implementation

IndexNotifierProvider({
  required this.model,
  required Widget child,
  Key? key,
}) : super(
        key: key,
        notifier: model,
        child: child,
      );