mirror of
https://github.com/immich-app/immich.git
synced 2024-11-18 11:29:11 -07:00
c1b22125fd
* styling light and dark theme * Icon topbar * Fixed app bar title dark theme * Fixed issue with getting thumbnail for things * Refactor sharing page * Refactor scroll thumb * Refactor chip in auto backup indiation button * Refactor sharing page * Added theme toggle * Up version for testflight build * Refactor backup controller page * Refactor album selection page * refactor album pages * Refactor gradient color profile header * Added theme switcher * Register app theme correctly * Added locale to the app * Added translation key * Styling for bottomsheet colors * up server version * Fixed font size * Fixed overlapsed sliverappbar on photos screen
32 lines
803 B
Dart
32 lines
803 B
Dart
import 'package:easy_localization/easy_localization.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
class MonthlyTitleText extends StatelessWidget {
|
|
const MonthlyTitleText({
|
|
Key? key,
|
|
required this.isoDate,
|
|
}) : super(key: key);
|
|
|
|
final String isoDate;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
var monthTitleText = DateFormat("monthly_title_text_date_format".tr())
|
|
.format(DateTime.parse(isoDate));
|
|
|
|
return SliverToBoxAdapter(
|
|
child: Padding(
|
|
padding: const EdgeInsets.only(left: 12.0, top: 32),
|
|
child: Text(
|
|
monthTitleText,
|
|
style: TextStyle(
|
|
fontSize: 26,
|
|
fontWeight: FontWeight.bold,
|
|
color: Theme.of(context).textTheme.headline1?.color,
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|