Use more specific MediaQuery methods to reduce unnecessary rebuilds (#467)

This commit is contained in:
Hamidreza Bayat
2026-07-10 10:11:00 +07:00
committed by GitHub
parent fe72286273
commit e97ecf38c5
15 changed files with 23 additions and 24 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ class _BatchConvertSheetState extends State<BatchConvertSheet> {
return Padding(
padding: EdgeInsets.only(
bottom: MediaQuery.of(context).viewInsets.bottom,
bottom: MediaQuery.viewInsetsOf(context).bottom,
),
child: DraggableScrollableSheet(
initialChildSize: 0.85,