Rebrand to iiEasy: naming, logo, l10n, docs, assets
Some checks failed
L10n / l10n (push) Has been cancelled

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-02-19 23:21:16 +05:00
parent cd536ff8f2
commit 5947edec45
119 changed files with 1180 additions and 541 deletions

View File

@@ -1,6 +1,7 @@
import 'package:flutter/material.dart';
import '../theme/theme_extensions.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'dart:io' show Platform;
import '../theme/color_tokens.dart';
import '../theme/tweakcn_themes.dart';
@@ -97,6 +98,21 @@ class BrandService {
return iconWidget;
}
/// iiEasy logo image (SVG): light theme uses logo.svg, dark uses logo_dark.svg.
static Widget createLogoImage({
required double size,
BuildContext? context,
}) {
final isDark = context != null && Theme.of(context).brightness == Brightness.dark;
final asset = isDark ? 'assets/icons/logo_dark.svg' : 'assets/icons/logo.svg';
return SvgPicture.asset(
asset,
width: size,
height: size,
fit: BoxFit.contain,
);
}
/// Creates a branded avatar with the hub icon
static Widget createBrandAvatar({
double size = 40,