mirror of
https://github.com/immich-app/immich.git
synced 2025-01-04 10:56:47 +01:00
5806a3ce25
* refactor(mobile): widgets * update
25 lines
578 B
Dart
25 lines
578 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:immich_mobile/extensions/build_context_extensions.dart';
|
|
|
|
class SettingsSubTitle extends StatelessWidget {
|
|
final String title;
|
|
|
|
const SettingsSubTitle({
|
|
super.key,
|
|
required this.title,
|
|
});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Padding(
|
|
padding: const EdgeInsets.only(left: 20),
|
|
child: Text(
|
|
title,
|
|
style: context.textTheme.bodyLarge?.copyWith(
|
|
color: context.primaryColor,
|
|
fontWeight: FontWeight.w700,
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|