new macos folder

This commit is contained in:
Junyuan Feng
2022-12-04 21:42:48 +08:00
parent ca17af30cf
commit 62a1122174
50 changed files with 158 additions and 257 deletions

View File

@@ -157,7 +157,7 @@ class _ConvertPageState extends State<ConvertPage>
title: Text(
e,
style: TextStyle(
color: _theme.textTheme.bodyText2!.color!.withAlpha(177),
color: _theme.textTheme.bodyText2?.color?.withAlpha(177),
),
),
trailing: _buildRadio(typeOption.indexOf(e)),
@@ -180,7 +180,7 @@ class _ConvertPageState extends State<ConvertPage>
groupValue: _typeOptionIndex,
onChanged: (int? value) {
setState(() {
_typeOptionIndex = value!;
_typeOptionIndex = value ?? 0;
});
},
);