v2.1.0top_modal_sheet
순수한 다트로 구현된 간단한 상단 모달 시트.
31좋아요 1.7천30일 다운로드160Pub 점수
AndroidiOSWebmacOSWindowsLinux
flutter용 간단한 상단 모달 시트
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
Simple modal sheet that appears from the top of the screen
Add top_modal_sheet: ^2.1.0 in your pubspec.yaml dependencies. And import it:
import 'package:top_modal_sheet/top_modal_sheet.dart';
Simply call showModalTopSheet to display it
MaterialButton(
color: Colors.white,
elevation: 5,
child: const Text("Show TopModal 1"),
onPressed: () async {
var value = await showTopModalSheet<String?>(context, DummyModal());
setState(() { _topModalData = value; });
},
)
For a more detail example please take a look at the example folder.
If something is missing, feel free to open a ticket or contribute!
의존성 목록 3 개
{"sdk":"flutter"}{"sdk":"flutter"}^3.0.1사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗