Fix unlock modal keyboard inset on android
continuous-integration/drone/pr Build is failing
Details
continuous-integration/drone/pr Build is failing
Details
This commit is contained in:
parent
8551e9cd11
commit
7d6fc268b5
|
@ -129,11 +129,14 @@ class _ProfileMgrViewState extends State<ProfileMgrView> {
|
|||
void _modalUnlockProfiles() {
|
||||
showModalBottomSheet<void>(
|
||||
context: context,
|
||||
isScrollControlled: true,
|
||||
builder: (BuildContext context) {
|
||||
return RepaintBoundary(
|
||||
child: Container(
|
||||
height: 200, // bespoke value courtesy of the [TextField] docs
|
||||
child: Center(
|
||||
return Padding(
|
||||
padding: MediaQuery.of(context).viewInsets,
|
||||
child: RepaintBoundary(
|
||||
child: Container(
|
||||
height: 200, // bespoke value courtesy of the [TextField] docs
|
||||
child: Center(
|
||||
child: Padding(
|
||||
padding: EdgeInsets.all(10.0),
|
||||
child: Column(
|
||||
|
@ -165,8 +168,8 @@ class _ProfileMgrViewState extends State<ProfileMgrView> {
|
|||
Spacer()
|
||||
]),
|
||||
],
|
||||
)),
|
||||
)));
|
||||
))),
|
||||
)));
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue