v0.2.1future_progress_dialog
future_progress_dialog는 비동기 작업용 간단한 진행률 대화상자 라이브러리입니다. showDialog 함수를 호출할 때 FutureProgressDialog가 시작되지만, 미래 작업이 완료되면 자동으로 닫힙니다.
33좋아요 81030일 다운로드140Pub 점수
AndroidiOSWebmacOSWindowsLinux
donguseo/future_progress_dialog open-source repository details.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
future_progress_dialog is a simple progress dialog library for async tasks. FutureProgressDialog start when you call showDialog function, but dismiss automatically when future task is finished.
Dart SDK version >= 2.1.0
Add the Package
dependencies:
future_progress_dialog: ^0.2.0
Import the package in your dart file
import 'package:future_progress_dialog/future_progress_dialog.dart';
Call showDialog method with FutureProgressDialog with message.
showDialog(
context: context,
builder: (context) =>
FutureProgressDialog(getFuture(), message: Text('Loading...')),
);
Or you can show it without message.
await showDialog(
context: context,
builder: (context) =>
FutureProgressDialog(getFuture()),
);
의존성 목록 2 개
{"sdk":"flutter"}{"sdk":"flutter"}사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗