fix:调整语音包设置
This commit is contained in:
parent
30cb3a7ac3
commit
ccad385a80
@ -1,5 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/widgets.dart';
|
||||
import 'package:flutter_easyloading/flutter_easyloading.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:star_lock/app_settings/app_colors.dart';
|
||||
@ -51,15 +52,10 @@ class _SpeechLanguageSettingsPageState
|
||||
|
||||
Widget _buildBody() {
|
||||
return Obx(
|
||||
() => Stack(
|
||||
children: [
|
||||
Column(
|
||||
children: [
|
||||
..._buildList(),
|
||||
],
|
||||
),
|
||||
// 移除进度条显示
|
||||
],
|
||||
() => SingleChildScrollView(
|
||||
child: Column(
|
||||
children: _buildList(),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
@ -84,7 +80,7 @@ class _SpeechLanguageSettingsPageState
|
||||
),
|
||||
),
|
||||
onExpansionChanged: (bool expanded) {},
|
||||
initiallyExpanded: true,
|
||||
initiallyExpanded: false,
|
||||
backgroundColor: Colors.white,
|
||||
collapsedBackgroundColor: Colors.white,
|
||||
expandedCrossAxisAlignment: CrossAxisAlignment.center,
|
||||
@ -124,4 +120,14 @@ class _SpeechLanguageSettingsPageState
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
// TODO: implement dispose
|
||||
super.dispose();
|
||||
if (EasyLoading.isShow) {
|
||||
EasyLoading.dismiss(animation: true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user