mirror of
https://github.com/immich-app/immich.git
synced 2024-12-23 02:06:15 +02:00
26 lines
478 B
Dart
26 lines
478 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-no-outline.png'),
|
||
|
width: size,
|
||
|
filterQuality: FilterQuality.high,
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
|
||
|
}
|