mirror of
https://github.com/immich-app/immich.git
synced 2024-12-19 00:32:49 +02:00
27 lines
513 B
Dart
27 lines
513 B
Dart
|
import 'package:flutter/material.dart';
|
||
|
|
||
|
class ImmichTitleText extends StatelessWidget {
|
||
|
final double fontSize;
|
||
|
final Color? color;
|
||
|
|
||
|
const ImmichTitleText({
|
||
|
super.key,
|
||
|
this.fontSize = 48,
|
||
|
this.color,
|
||
|
});
|
||
|
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return Text(
|
||
|
'IMMICH',
|
||
|
style: TextStyle(
|
||
|
fontFamily: 'SnowburstOne',
|
||
|
fontWeight: FontWeight.bold,
|
||
|
fontSize: fontSize,
|
||
|
color: color ?? Theme.of(context).primaryColor,
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
|
||
|
}
|