Skip to content

ImagePicker.pickImage does not take into consideration new bottom insets for android 15+ #174204

@RoarGronmo

Description

@RoarGronmo

CameraButton get partly obscured if bottom keys are used on android 15+ (android 16 and on), when calling ImagePicker.pickImage to grab a image from camera of PickImage tool:

Image

(Picture from Canary Preview medium format)

Normally we add a Padding for theese situations like

return Padding(
      padding: EdgeInsets.only(bottom: MediaQuery.of(context).padding.bottom),
      child: ...

to avoid the button row.

Since ImagePicker.pickImage does the layout in theese situations, you should do similar for this tool.

Same for the other buttons in the tool

Image

The buttons are not aligned or come too near the system buttons.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in triagePresently being triaged by the triage teamwaiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions