暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

ConnectivityProvider.dart 429B

123456789101112131415161718192021
  1. import 'package:flutter/material.dart';
  2. class ConnectivityProvider with ChangeNotifier{
  3. /*Connectivity
  4. ConnectivityProvider _connectivityProvider = new ConnectivityProvider();
  5. late bool _isOnline;
  6. bool get isOnline => _isOnline;
  7. startMonitoring() async {
  8. }
  9. Future<void> initConnectivity() async {
  10. try {
  11. var connectivityResult = await (Connectivity().checkConnectivity());
  12. } catch {
  13. }
  14. }*/
  15. }