mod: flutter 3.16 特性迁移

This commit is contained in:
guozhigq
2024-01-21 18:50:25 +08:00
parent 9e40e162ac
commit 7428cde108
11 changed files with 20 additions and 21 deletions

View File

@ -163,7 +163,7 @@ class _MediaPageState extends State<MediaPage>
// const SizedBox(height: 10),
SizedBox(
width: double.infinity,
height: 200 * MediaQuery.of(context).textScaleFactor,
height: MediaQuery.textScalerOf(context).scale(200),
child: FutureBuilder(
future: _futureBuilderFuture,
builder: (context, snapshot) {