Improvements:

- Improve display size of file box icons
This commit is contained in:
Linloir 2022-10-23 13:15:18 +08:00
parent bf499f2434
commit d1507627e7
No known key found for this signature in database
GPG Key ID: 58EEB209A0F2C366

View File

@ -1,7 +1,7 @@
/*
* @Author : Linloir
* @Date : 2022-10-14 17:07:13
* @LastEditTime : 2022-10-22 23:31:19
* @LastEditTime : 2022-10-23 13:12:27
* @Description :
*/
@ -54,17 +54,23 @@ class FileBox extends StatelessWidget {
size: 20,
color: history.type == ChatHistoryType.income ? Colors.red[800] : Colors.white.withOpacity(0.8),
) : history.status == ChatHistoryStatus.processing ?
SizedBox(
Container(
height: 16.0,
width: 16.0,
width: 20.0,
padding: const EdgeInsets.only(
right: 4.0
),
child: LoadingIndicator(
indicatorType: Indicator.ballPulseSync,
colors: [Colors.white.withOpacity(0.8)],
),
) :
SizedBox(
Container(
height: 16.0,
width: 16.0,
width: 20.0,
padding: const EdgeInsets.only(
right: 4.0
),
child: CircularProgressIndicator(
color: history.type == ChatHistoryType.income ? Colors.blue[800] : Colors.white.withOpacity(0.8),
strokeWidth: 2.5,