v0.0.3
sync_sphere
sync_sphere 패키지는 앱 전체 또는 특정 위치에서 인터넷 연결 상태를 간편하게 확인하도록 설계되었습니다. 인터넷 연결을 감시하고 싶은 위젯을 래핑하기만 하면 나머지는 저희가 맡아드립니다.
4좋아요 1730일 다운로드110Pub 점수
AndroidiOSWebmacOSWindowsLinux
연결 상태를 확인하기 위한 플러터 패키지
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A Flutter package for constant internet connectivity checking throughout the app.
sync_sphere package to your pubspec.yaml file:dependencies:
sync_sphere: ^0.0.3
flutter pub get
import 'package:sync_sphere/sync_sphere.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: SyncSphere(
child: YourMainScreen(),
whenOffine: YourOfflineScreenWidget(),
),
);
}
}
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: SyncSphere(
child: YourMainScreen(),
),
);
}
}
의존성 목록 4 개
^5.0.2{"sdk":"flutter"}^2.0.0{"sdk":"flutter"}사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗