2023-02-28 18:22:18 +02:00
|
|
|
import 'package:flutter/material.dart';
|
2023-11-09 18:19:53 +02:00
|
|
|
import 'package:immich_mobile/extensions/build_context_extensions.dart';
|
2023-02-28 18:22:18 +02:00
|
|
|
|
|
|
|
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,
|
2023-11-09 18:19:53 +02:00
|
|
|
color: color ?? context.primaryColor,
|
2023-02-28 18:22:18 +02:00
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|