mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 15:24:35 +01:00
更改图标、修复包名
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user