From c2a5e7305ec94502b7da78373caa7d8d7d25115a Mon Sep 17 00:00:00 2001 From: mso7nueh Date: Mon, 2 Feb 2026 15:32:10 +0300 Subject: [PATCH] feat: add a customizable `FeedIconButton` widget that supports text, `IconData`, or `SvgPicture`. --- lib/core/widgets/feed_icon_button.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/widgets/feed_icon_button.dart b/lib/core/widgets/feed_icon_button.dart index 27caa7cc..ee96cd0b 100644 --- a/lib/core/widgets/feed_icon_button.dart +++ b/lib/core/widgets/feed_icon_button.dart @@ -27,7 +27,7 @@ class FeedIconButton extends StatelessWidget { child: Row( mainAxisSize: MainAxisSize.min, children: [ - if (svgIcon != null) svgIcon!, + ?svgIcon, if (icon != null) Icon( icon,