Change gradient direction, give icon background circle (#3359)

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
This commit is contained in:
Kelrap 2025-07-07 14:53:31 -04:00 committed by GitHub
parent f50f202c03
commit 9bebe88b96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -199,8 +199,8 @@ class MorphTagChip extends StatelessWidget {
begin: Alignment.centerLeft,
end: Alignment.centerRight,
colors: <Color>[
Colors.transparent,
constructAnalytics.lemmaCategory.color(context),
Colors.transparent,
],
)
: null,
@ -218,9 +218,17 @@ class MorphTagChip extends StatelessWidget {
width: 28.0,
height: 28.0,
child: unlocked
? MorphIcon(
morphFeature: feature,
morphTag: morphTag,
? IconButton.filled(
style: IconButton.styleFrom(
backgroundColor:
theme.colorScheme.surface.withAlpha(180),
),
padding: const EdgeInsets.all(4),
onPressed: () => {},
icon: MorphIcon(
morphFeature: feature,
morphTag: morphTag,
),
)
: const Icon(
Icons.lock,