Created
June 22, 2024 16:47
-
-
Save fredgrott/c5cb12b11c64eb7c400d1375a20e7469 to your computer and use it in GitHub Desktop.
color scheme dark
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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'; | |
//TODO: Re-do when contrastLevel of ColorScheme lands in beta | |
ColorScheme colorSchemeDark(Color seedColor) { | |
return ColorScheme.fromSeed( | |
brightness: Brightness.dark, | |
seedColor: seedColor, | |
dynamicSchemeVariant: DynamicSchemeVariant.fidelity, | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment