bayu/dev #18

Merged
nugrohob825 merged 5 commits from bayu/dev into dev 2024-02-26 00:25:28 +07:00
Showing only changes of commit ae4f9c25c4 - Show all commits

View File

@ -47,6 +47,7 @@ class SelectFormView extends StatelessWidget {
bottomSheet() { bottomSheet() {
showModalBottomSheet<void>( showModalBottomSheet<void>(
context: context, context: context,
isDismissible: false,
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
borderRadius: BorderRadius.only( borderRadius: BorderRadius.only(
topLeft: _borderRadius, topLeft: _borderRadius,
@ -82,7 +83,10 @@ class SelectFormView extends StatelessWidget {
), ),
), ),
IconButton( IconButton(
onPressed: () => Navigator.pop(context), onPressed: () {
ctrl?.clear();
Navigator.pop(context);
},
icon: const Icon( icon: const Icon(
Icons.clear, Icons.clear,
size: 26, size: 26,