TF-1487 Apply linter rule
This commit is contained in:
+3
-3
@@ -31,7 +31,7 @@ class EmailForwardItemWidget extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final _imagePaths = Get.find<ImagePaths>();
|
||||
final imagePaths = Get.find<ImagePaths>();
|
||||
|
||||
return Padding(
|
||||
padding: const EdgeInsets.only(top: 4),
|
||||
@@ -53,7 +53,7 @@ class EmailForwardItemWidget extends StatelessWidget {
|
||||
recipientForward.selectMode == SelectMode.ACTIVE ? 12 : 0))
|
||||
),
|
||||
child: Row(children: [
|
||||
_buildAvatarIcon(_imagePaths),
|
||||
_buildAvatarIcon(imagePaths),
|
||||
const SizedBox(width: 12),
|
||||
Expanded(child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
@@ -92,7 +92,7 @@ class EmailForwardItemWidget extends StatelessWidget {
|
||||
buildIconWeb(
|
||||
iconSize: 30,
|
||||
splashRadius: 20,
|
||||
icon: SvgPicture.asset(_imagePaths.icDeleteRecipient),
|
||||
icon: SvgPicture.asset(imagePaths.icDeleteRecipient),
|
||||
onTap: () => onDeleteRecipientCallback?.call(recipientForward)
|
||||
)
|
||||
]),
|
||||
|
||||
+2
-2
@@ -82,6 +82,7 @@ class ListEmailForwardsWidget extends GetWidget<ForwardController> {
|
||||
color: Colors.transparent,
|
||||
child: InkWell(
|
||||
customBorder: const RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(5))),
|
||||
onTap: controller.selectAllRecipientForward,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(vertical: 8, horizontal: 12),
|
||||
child: Text(
|
||||
@@ -93,7 +94,6 @@ class ListEmailForwardsWidget extends GetWidget<ForwardController> {
|
||||
)
|
||||
),
|
||||
),
|
||||
onTap: controller.selectAllRecipientForward,
|
||||
)
|
||||
);
|
||||
}
|
||||
@@ -107,7 +107,7 @@ class ListEmailForwardsWidget extends GetWidget<ForwardController> {
|
||||
buildIconWeb(
|
||||
icon: SvgPicture.asset(
|
||||
_imagePaths.icCloseComposer,
|
||||
color: AppColor.colorTextButton,
|
||||
colorFilter: AppColor.colorTextButton.asFilter(),
|
||||
fit: BoxFit.fill),
|
||||
tooltip: AppLocalizations.of(context).cancel,
|
||||
onTap: controller.cancelSelectionMode
|
||||
|
||||
Reference in New Issue
Block a user