fixed db installation

This commit is contained in:
Stephan D
2025-12-05 03:25:52 +01:00
parent 2b2a8afc2f
commit c44edc85fa
7 changed files with 27 additions and 22 deletions

View File

@@ -1,15 +1,23 @@
import 'package:flutter/material.dart';
import 'package:jovial_svg/jovial_svg.dart';
class ServiceLogo extends StatelessWidget {
final double size;
const ServiceLogo({ super.key, this.size = 48 });
const ServiceLogo({ super.key, this.size = 64 });
@override
Widget build(BuildContext context) => SizedBox(
height: size,
width: size,
child: Image.asset('resources/logo.png'),
child: ScalableImageWidget.fromSISource(
key: const Key('mxLogo'),
si: ScalableImageSource.fromSI(
DefaultAssetBundle.of(context),
'resources/logo.si',
),
),
);
}