replace the "Krow" with "KROW"

This commit is contained in:
Achintha Isuru
2026-02-26 15:13:26 -05:00
parent f9c2d822e6
commit b8d07380c0
60 changed files with 225 additions and 227 deletions

View File

@@ -3,7 +3,7 @@ import 'package:flutter/material.dart';
import 'package:flutter_modular/flutter_modular.dart';
import 'package:core_localization/core_localization.dart';
/// Widget for displaying more ways to use Krow, using design system tokens.
/// Widget for displaying more ways to use KROW, using design system tokens.
class MoreWaysToUseKrowWidget extends StatelessWidget {
/// Creates a [MoreWaysToUseKrowWidget].
const MoreWaysToUseKrowWidget({super.key});
@@ -15,13 +15,15 @@ class MoreWaysToUseKrowWidget extends StatelessWidget {
{
'id': 'benefits',
'title': i18n.items.benefits.title,
'image': 'https://images.unsplash.com/photo-1481627834876-b7833e8f5570?w=400&h=300&fit=crop',
'image':
'https://images.unsplash.com/photo-1481627834876-b7833e8f5570?w=400&h=300&fit=crop',
'page': i18n.items.benefits.page,
},
{
'id': 'refer',
'title': i18n.items.refer.title,
'image': 'https://images.unsplash.com/photo-1529156069898-49953e39b3ac?w=400&h=300&fit=crop',
'image':
'https://images.unsplash.com/photo-1529156069898-49953e39b3ac?w=400&h=300&fit=crop',
'page': i18n.items.refer.page,
},
];
@@ -29,10 +31,7 @@ class MoreWaysToUseKrowWidget extends StatelessWidget {
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
i18n.title,
style: UiTypography.title1m.textPrimary,
),
Text(i18n.title, style: UiTypography.title1m.textPrimary),
const SizedBox(height: UiConstants.space3),
SingleChildScrollView(
scrollDirection: Axis.horizontal,
@@ -75,10 +74,7 @@ class MoreWaysToUseKrowWidget extends StatelessWidget {
fit: BoxFit.cover,
errorBuilder: (context, error, stackTrace) => Container(
color: UiColors.background,
child: Icon(
UiIcons.zap,
color: UiColors.mutedForeground,
),
child: Icon(UiIcons.zap, color: UiColors.mutedForeground),
),
),
),