NetworkProvider constructor

NetworkProvider({
  1. Key? key,
  2. required Widget child,
  3. bool connection = false,
})

Implementation

NetworkProvider({
  super.key,
  required Widget child,
  bool connection = false,
})  : notifier = NetworkNotifier(connection),
      super(child: _NetworkView(child: child));