FlexSchemeColor constructor
const
FlexSchemeColor({})
Default constructor.
Consider using the FlexSchemeColor.from factory constructor for more flexibility and less required values based on using computed defaults for missing, but required values.
Implementation
const FlexSchemeColor({
// The appBarColor, accentColor and error colors are not required, if they
// are null they will be provided by theme defaults later.
required this.primary,
required this.primaryVariant,
required this.secondary,
required this.secondaryVariant,
this.appBarColor,
this.error,
});