mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-23 07:50:42 +00:00
21 lines
603 B
Dart
21 lines
603 B
Dart
|
import 'package:flutter/material.dart';
|
||
|
import 'package:lightmeter/data/models/dynamic_colors_state.dart';
|
||
|
import 'package:provider/provider.dart';
|
||
|
|
||
|
import 'components/widget_list_tile_dynamic_colors.dart';
|
||
|
import 'components/widget_list_tile_theme_type.dart';
|
||
|
|
||
|
class ThemeSettings extends StatelessWidget {
|
||
|
const ThemeSettings({super.key});
|
||
|
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return Column(
|
||
|
children: [
|
||
|
const ThemeTypeListTile(),
|
||
|
if (context.read<DynamicColorsState>() != DynamicColorsState.unavailable) const DynamicColorsListTile(),
|
||
|
],
|
||
|
);
|
||
|
}
|
||
|
}
|