v1.1.0delightful_toast
슬라이드로 닫기, 자동 닫기, 스택 애니메이션, 필요 시 닫기 등의 기능을 갖춘 풍부한 상호작용을 위한 매력적인 토스트바 패키지입니다.
SwaroopSambhayya/delight_toast open-source repository details.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A delighful and very interactive toast or a snackbar to add more delight to your application
https://github.com/SwaroopSambhayya/delight_toast/assets/31922733/45b77a2e-7a73-44a0-899d-8d2f740097fb
In pubspec.yaml
delightful_toast: ^1.1.0
// add the import statement
import 'package:delightful_toast/delight_toast.dart';
Use the toasbar whenever a event has been triggered like onPressed/onTapped or in any other situation where the event is enforced
ElevatedButton( onPressed:(){
DelightToastBar(
builder: (context) => const ToastCard(
leading: Icon(
Icons.flutter_dash,
size: 28,
),
title: Text(
"Hi I'm Dash, Let's have a walkthrough of Delight Toast",
style: TextStyle(
fontWeight: FontWeight.w700,
fontSize: 14,
),
),
),
).show(context);
},
child: const Text("Toast!")
)
의존성 목록 4 개
{"sdk":"flutter"}^4.3.0{"sdk":"flutter"}^2.0.0사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗