useConnectivity top-level property

void Function({ConnectivityConfig? config, BuildContext? context, ConnectivityDisplayType? displayType, Widget? fallBackScreen}) useConnectivity
getter/setter pair

Implementation

var useConnectivity = ({
  BuildContext? context,
  ConnectivityConfig? config,
  Widget? fallBackScreen,
  ConnectivityDisplayType? displayType,
}) =>
    use(
      _UseConnectivity(
        context: context,
        config: config,
        fallBackScreen: fallBackScreen,
        displayType: displayType,
      ),
    );