Answers for "flutter showmodalbottomsheet keyboard"

4

flutter showmodalbottomsheet

showModalBottomSheet(
        context: context,
        builder: (context) {
          return Wrap(
            children: const [
              ListTile(
                leading: Icon(Icons.share),
                title: Text('Share'),
              ),
              ListTile(
                leading: Icon(Icons.link),
                title: Text('Get link'),
              ),
              ListTile(
                leading: Icon(Icons.edit),
                title: Text('Edit name'),
              ),
              ListTile(
                leading: Icon(Icons.delete),
                title: Text('Delete collection'),
              ),
            ],
          );
        });
Posted by: Guest on August-23-2021
0

showModalBottomSheet keyboard issue

showModalBottomSheet(
    shape: RoundedRectangleBorder(
        borderRadius: BorderRadius.vertical(top: Radius.circular(25.0))),
    backgroundColor: Colors.black,
    context: context,
    isScrollControlled: true,
    builder: (context) => Padding(
      padding: const EdgeInsets.symmetric(horizontal:18 ),
      child: Column(
            crossAxisAlignment: CrossAxisAlignment.start,
            mainAxisSize: MainAxisSize.min,
            children: <Widget>[
              Padding(
                padding: const EdgeInsets.symmetric(horizontal: 12.0),
                child: Text('Enter your address',
                    style: TextStyles.textBody2),
              ),
              SizedBox(
                height: 8.0,
              ),
              Padding(
                padding: EdgeInsets.only(
                    bottom: MediaQuery.of(context).viewInsets.bottom),
                child: TextField(
                  decoration: InputDecoration(
                    hintText: 'adddrss'
                  ),
                  autofocus: true,
                  controller: _newMediaLinkAddressController,
                ),
              ),

              SizedBox(height: 10),
            ],
          ),
    ));
Posted by: Guest on October-27-2020

Code answers related to "flutter showmodalbottomsheet keyboard"

Browse Popular Code Answers by Language