v0.2.2bottom_loader
모달 시트를 사용하여 하단 로더를 표시하는 플러터 플러그인입니다.
21좋아요 5230일 다운로드130Pub 점수
AndroidiOSWebmacOSWindowsLinux
하단 로더용 플러터 패키지
{"sdk":"flutter"}{"sdk":"flutter"}아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A light weight package to show loader using bottom modal sheet. As it is a stateful widget, you can change the text shown on the bottom sheet dynamically.
https://img.shields.io/badge/dontate-Buy%20Me%20a%20Coffee-blueviolet LinkedIn Get the library Example
Dart SDK version >= 2.12.0
Add the Package
dependencies:
bottom_loader: ^0.2.2
Import the package in your dart file
import 'package:bottom_loader/bottom_loader.dart';
Create an instance of BottomLoader
BottomLoader bl;
Initialise the bl object inside the build() method passing context to it
bl = new BottomLoader(context);
//For bottom loader
//loader aceepts any custom widget as loader
bl = new BottomLoader(context, isDismissible: true/false, showLogs: true/false,loader: CircularProgressIndicator());
bl.style(
message: 'Loading File...',
backgroundColor: Colors.white,
messageTextStyle: TextStyle(
color: Colors.black, fontSize: 19.0, fontWeight: FontWeight.w600)
);
Note: You don't need to use all parameters, all of them are optional
await bl.show();
bl.close().then((isHidden) {
print(isHidden);
});
Pull requests and issues are always welcome!