appdev/FlutterToast
Flutter Toast Flutter 네이티브 API를 사용하여 구현된 토스트 기능
- Stars
- 112
- Forks
- 51
- 최근 푸시(UTC)
- 2025. 1. 7.
- 프로젝트 상태
- 활성
언어DartCSS
기술 주제
사용 중인 의존성
의존성 목록 2 개
- flutter
{"sdk":"flutter"} - flutter_web_plugins
{"sdk":"flutter"}
원본 README
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
README 펼치기 / 접기
Toast
A Flutter Toast plugin.
How to Use
# add this line to your dependencies
toast: ^0.3.0
import 'package:toast/toast.dart';
ToastContext().init(context);
Toast.show("Toast plugin app", duration: Toast.lengthShort, gravity: Toast.bottom);
| property | description |
|---|---|
| msg | String (Not Null)(required) |
| duration | Toast.lengthShort or Toast.lengthLong (optional) |
| gravity | Toast.top (or) Toast.center[not supported on web] (or) Toast.bottom |
| textStyle | TextStyle (default fontSize:15, color: Colors.white) |
| backgroundColor | Color (default Color(0xAA000000)) |
| backgroundRadius | double (default 16) |
| border | Border (optional) |
toast toast
License
MIT License