Issue I’ve tried a lot of way to add border radius but they didn’t work. So this is the way I call bottom sheet showModalBottomSheet( isScrollControlled: true, barrierColor: Color.fromARGB(92, 0, 0, 0), backgroundColor: Color.fromARGB(0, 0, 0, 0), context: context, builder:
Continue readingTag: flutter-showmodalbottomsheet
flutter open bottom sheet as wrap content and then set maximum height
Issue when the bottom sheet appears it does not has that much height. but when a checkbox clicked in the bottom sheet it is expanding to the top regardless the screen size. what I have been trying to do is
Continue readingCan't close model bottom sheet by click outside when isScrollControlled property true
Issue I’m having a modal bottom sheet, in which contain some text field. I want the bottom sheet to close when click outside of the sheet but due to isScrollControlled property is true so i cant do that. But if
Continue readingI can't get the state of my Stateful widget to display the updated month on the ElevatedButton with ListWheelScrollView.useDelegate()
Issue import ‘package:flutter/material.dart’; import ‘year_month_picker/states_month.dart’; import ‘year_month_picker/widgets/wheeltile.dart’; class MyMonthPickerr extends StatefulWidget { const MyMonthPickerr({Key? key}) : super(key: key); @override _MyMonthPickerrState createState() => _MyMonthPickerrState(); } class _MyMonthPickerrState extends State<MyMonthPickerr> { List<States_Month> states_month = []; String currentState = [ ‘January’, ‘February’, ‘March’,
Continue readingHow to put an iOS style dismissible bar on flutter modal sheet
Issue I am pretty new to flutter and trying to achieve a dismissible bar for my modalSheet. Something like this image: I can only think of a stack. But that would make the code complex. Please let me know if
Continue readingCreating BorderRadius within a Scaffold in BottomSheet and minChildSize issue
Issue Code B below is pop up from clicking showModalBottomSheet. It works fine as it is. But I am trying to fix 2 issues with this code. Issue 1. The maxChildSize and minChildSize doesn’t seem to be working. How can
Continue readingHow to tap outside of the BottomSheet to dismiss it?
Issue I have a showModalBottomSheet widget inside SingleChildScrollView. When the showModalBottomSheet pops up, it leads me to a DraggableScrollableSheet with a custom height. It all works fine. But somehow, it seems like whenever I do custom height using initialChildSize, I
Continue readingSingleChildScrollView with ListView in a showModalBottomSheet
Issue I am using a SingleChildScrollView with a ListView in a showModalBottomSheet but the keyboard is hidding the field when the user is filling it. showModalBottomSheet( context: context, isScrollControlled: true, enableDrag: true, isDismissible: false, builder: (context) { return SafeArea( child:
Continue readingFlutter UI Modal Bottom Sheet with stack arrow at top of it
Issue I’d like to implement the UI as shown in the attached photo. When a I press on "Show More" , it should show a modal bottom sheet like this. I tried to do it using bottomSheet using a package
Continue readingFlutter SolidBottomSheet remove white edges
Issue Using this package I can’t seem to remove white space. The problem is that this package doesn’t use show Modal Bottom Sheet. bottomNavigationBar: SolidBottomSheet( controller: _controller, draggableBody: false, headerBar: Container( decoration: BoxDecoration(color:Colors.grey.shade200, borderRadius: BorderRadius.only(topLeft: Radius.circular(25),topRight: Radius.circular(25)),boxShadow: [ BoxShadow( color:
Continue reading