v0.0.2
side_sheet_material3
이 Flutter 패키지는 Material Design 3 모달 사이드 시트 위젯을 제공합니다.
32좋아요 50030일 다운로드140Pub 점수
AndroidiOSWebmacOSWindowsLinux
이 Flutter 패키지는 Material Design 3 모달 사이드 시트 위젯을 제공합니다.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
https://raw.githubusercontent.com/egortabula/side_sheet_material3/main/assets/Material%20design%203%20side%20sheet.jpg
A Flutter package that provides a Material Design 3 side sheet as a general dialog.
Please check out the official documentation for more information on Material Design side sheet
To use this package, add side_sheet_material3 as a dependency in your pubspec.yaml file.
dependencies:
side_sheet_material3: ^0.0.1
await showModalSideSheet(
context: context,
header: 'Edit Profile',
body: ProfileEditForm(), // Put your content widget here
addBackIconButton: true,
addActions: true,
addDivider: true,
confirmActionTitle: 'Save',
cancelActionTitle: 'Cancel',
confirmActionOnPressed: () {
// Do something
},
// If null, Navigator.pop(context) will used
cancelActionOnPressed: () {
// Do something
},
);
Please check out the full example for more information on how to use this package.