refactor: migrate MediaQuery properties to InheritedModel (#1115)

Co-authored-by: Ushie <ushiekane@gmail.com>
This commit is contained in:
Dhruvan Bhalara
2023-08-10 17:55:07 +05:30
committed by GitHub
parent f5e45ead26
commit 97e37f304b
7 changed files with 9 additions and 8 deletions

View File

@ -94,7 +94,7 @@ class _AppSelectorViewState extends State<AppSelectorView> {
padding: const EdgeInsets.symmetric(horizontal: 12.0)
.copyWith(
bottom:
MediaQuery.of(context).viewPadding.bottom + 8.0,
MediaQuery.viewPaddingOf(context).bottom + 8.0,
),
child: Column(
children: [