更改图标、修复包名

This commit is contained in:
LollipopKit
2021-09-13 21:43:31 +08:00
parent 597bb60449
commit 79932c0963
26 changed files with 40 additions and 2 deletions

View File

@@ -102,9 +102,33 @@ class _EncodePageState extends State<EncodePage>
Widget _buildTypeOption() {
return Card(
child: ExpansionTile(
title: Text(
leading: TextButton(
child: SizedBox(
width: _media.size.width * 0.2,
child: Row(
children: const [
Icon(Icons.change_circle),
Text('上下交换')
],
),
),
onPressed: () {
final temp = _textEditingController.text;
_textEditingController.text = _textEditingControllerResult.text;
_textEditingControllerResult.text = temp;
},
),
title: SizedBox(
width: _media.size.width * 0.4,
child: Row(
children: [
const VerticalDivider(width: 2, thickness: 2, indent: 2, endIndent: 2,),
Text(
_typeOption[_typeOptionIndex],
style: const TextStyle(fontSize: 16.0, fontWeight: FontWeight.w500),
)
],
),
),
children: _typeOption
.map((e) => ListTile(