sistemato assets, finito creazione company, inizio lavoro store
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_svg/svg.dart';
|
||||
|
||||
// Classe privata per gestire i percorsi in modo ordinato
|
||||
class _FluxLogoPaths {
|
||||
// Nota: Usa l'estensione .svg
|
||||
static const String logoLight = 'assets/images/flux_logo_light.png';
|
||||
static const String logoDark = 'assets/images/flux_logo_dark.png';
|
||||
static const String logoLight = 'assets/svg/flux_logo_light.svg';
|
||||
static const String logoDark = 'assets/svg/flux_logo_dark.svg';
|
||||
}
|
||||
|
||||
/// Widget base generico per il logo FLUX in formato SVG.
|
||||
@@ -19,7 +20,7 @@ class _FluxLogoBase extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
// Usiamo SvgPicture.asset per gli SVG
|
||||
return Image.asset(
|
||||
return SvgPicture.asset(
|
||||
assetPath,
|
||||
width: width,
|
||||
height: height,
|
||||
|
||||
Reference in New Issue
Block a user