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() {
|
void _modalUnlockProfiles() {
|
||||||
showModalBottomSheet<void>(
|
showModalBottomSheet<void>(
|
||||||
context: context,
|
context: context,
|
||||||
|
isScrollControlled: true,
|
||||||
builder: (BuildContext context) {
|
builder: (BuildContext context) {
|
||||||
return RepaintBoundary(
|
return Padding(
|
||||||
child: Container(
|
padding: MediaQuery.of(context).viewInsets,
|
||||||
height: 200, // bespoke value courtesy of the [TextField] docs
|
child: RepaintBoundary(
|
||||||
child: Center(
|
child: Container(
|
||||||
|
height: 200, // bespoke value courtesy of the [TextField] docs
|
||||||
|
child: Center(
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: EdgeInsets.all(10.0),
|
padding: EdgeInsets.all(10.0),
|
||||||
child: Column(
|
child: Column(
|
||||||
|
@ -165,8 +168,8 @@ class _ProfileMgrViewState extends State<ProfileMgrView> {
|
||||||
Spacer()
|
Spacer()
|
||||||
]),
|
]),
|
||||||
],
|
],
|
||||||
)),
|
))),
|
||||||
)));
|
)));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue