app theme data
source link: https://gist.github.com/fredgrott/1650453348ab79dc8bc7b9ceb46de585
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Instantly share code, notes, and snippets.
// Copyright 2021 Fredrick Allan Grott. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file.
import 'package:flutter/material.dart'; import 'package:gtdd_seven/src/presentation/themes/my_app_colorschemes.dart'; import 'package:gtdd_seven/src/presentation/themes/my_typography.dart';
ThemeData myLightThemeData = ThemeData( colorScheme: myLightColorScheme, typography: myTypography, );
ThemeData myDarkThemeData = ThemeData( colorScheme: myDarkColorScheme, typography: myTypography, );
ThemeData myHighContrastLightThemeData = ThemeData( colorScheme: myHighContrastLightColorScheme, typography: myTypography, );
ThemeData myHighContrastDarkThemeData = ThemeData( colorScheme: myHighContrastDarkColorScheme, typography: myTypography, );
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK