mirror of
https://github.com/immich-app/immich.git
synced 2026-02-28 01:29:04 +03:00
* feat: html text * feat: mobile ui showcase (#25827) * feat: mobile ui showcase * remove showcase from main app * update fonts * update code to be loaded from asset * fix ci --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com> # Conflicts: # mobile/lib/widgets/common/immich_sliver_app_bar.dart --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
18 lines
393 B
Dart
18 lines
393 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class PageTitle extends StatelessWidget {
|
|
final String title;
|
|
final Widget child;
|
|
|
|
const PageTitle({super.key, required this.title, required this.child});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Title(
|
|
title: '$title | @immich/ui',
|
|
color: Theme.of(context).colorScheme.primary,
|
|
child: child,
|
|
);
|
|
}
|
|
}
|