- introPage.dart: Convert fireItems to proper static function closure - mainDrawer.dart: Convert unreadCount int to String for Text widget
26 lines
759 B
Dart
26 lines
759 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
import 'colors.dart';
|
|
|
|
final ThemeData devFiresTheme = _buildFiresTheme();
|
|
|
|
ThemeData _buildFiresTheme() {
|
|
final ThemeData base = ThemeData.light();
|
|
return base.copyWith(
|
|
primaryColor: Colors.pink,
|
|
scaffoldBackgroundColor: firesSurfaceWhite,
|
|
cardColor: firesBackgroundWhite,
|
|
textSelectionTheme: const TextSelectionThemeData(selectionColor: fires300),
|
|
colorScheme: const ColorScheme.light(
|
|
primary: Colors.pink,
|
|
secondary: fires900,
|
|
error: firesErrorRed,
|
|
surface: firesSurfaceWhite,
|
|
onSurface: fires900,
|
|
onSecondary: Colors.white,
|
|
),
|
|
//TODO: Add the text themes (103)
|
|
//TODO: Add the icon themes (103)
|
|
//TODO: Decorate the inputs (103)
|
|
);
|
|
}
|