opt: ActionItem (#974)

This commit is contained in:
My-Responsitories
2025-08-10 00:29:58 +08:00
committed by GitHub
parent fac37e59aa
commit aaad7fc6dc
15 changed files with 550 additions and 531 deletions

View File

@@ -13,7 +13,7 @@ class ActionRowLineItem extends StatelessWidget {
});
final bool selectStatus;
final Function? onTap;
final bool? isLoading;
final bool isLoading;
final String? text;
final IconData? iconData;
final Widget? icon;
@@ -55,7 +55,7 @@ class ActionRowLineItem extends StatelessWidget {
else if (icon != null)
icon!,
AnimatedOpacity(
opacity: isLoading! ? 0 : 1,
opacity: isLoading ? 0 : 1,
duration: const Duration(milliseconds: 200),
child: Text(
text!,