mirror of
https://github.com/immich-app/immich.git
synced 2024-12-17 12:22:31 +02:00
63b4fc6f65
* chore(mobile): anti-aliasing logo * use svg * adjust height * better sizing
26 lines
493 B
Dart
26 lines
493 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class ImmichLogo extends StatelessWidget {
|
|
final double size;
|
|
final dynamic heroTag;
|
|
|
|
const ImmichLogo({
|
|
super.key,
|
|
this.size = 100,
|
|
this.heroTag,
|
|
});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Hero(
|
|
tag: heroTag,
|
|
child: Image(
|
|
image: const AssetImage('assets/immich-logo.png'),
|
|
width: size,
|
|
filterQuality: FilterQuality.high,
|
|
isAntiAlias: true,
|
|
),
|
|
);
|
|
}
|
|
}
|