ColorSchemeFromSeed class Null safety
- Implemented types
Constructors
- ColorSchemeFromSeed({required Color seedColor, Brightness brightness, Color? primary, Color? onPrimary, Color? primaryContainer, Color? onPrimaryContainer, Color? secondary, Color? onSecondary, Color? secondaryContainer, Color? onSecondaryContainer, Color? tertiary, Color? onTertiary, Color? tertiaryContainer, Color? onTertiaryContainer, Color? error, Color? onError, Color? errorContainer, Color? onErrorContainer, Color? outline, Color? outlineVariant, Color? background, Color? onBackground, Color? surface, Color? onSurface, Color? surfaceVariant, Color? onSurfaceVariant, Color? inverseSurface, Color? onInverseSurface, Color? inversePrimary, Color? shadow, Color? scrim, Color? surfaceTint})
-
constfactory
-
ColorSchemeFromSeed.fromJson(Map<
String, dynamic> json) -
factory
Properties
- background → Color?
-
read-only, override
- brightness → Brightness
-
read-only, override
-
copyWith
→ _$$ColorSchemeFromSeedCopyWith<
_$ColorSchemeFromSeed> -
@JsonKey(ignore: true), read-only, override
- error → Color?
-
read-only, override
- errorContainer → Color?
-
read-only, override
- hashCode → int
-
The hash code for this object.
read-only, inherited
- inversePrimary → Color?
-
read-only, override
- inverseSurface → Color?
-
read-only, override
- onBackground → Color?
-
read-only, override
- onError → Color?
-
read-only, override
- onErrorContainer → Color?
-
read-only, override
- onInverseSurface → Color?
-
read-only, override
- onPrimary → Color?
-
read-only, override
- onPrimaryContainer → Color?
-
read-only, override
- onSecondary → Color?
-
read-only, override
- onSecondaryContainer → Color?
-
read-only, override
- onSurface → Color?
-
read-only, override
- onSurfaceVariant → Color?
-
read-only, override
- onTertiary → Color?
-
read-only, override
- onTertiaryContainer → Color?
-
read-only, override
- outline → Color?
-
read-only, override
- outlineVariant → Color?
-
read-only, override
- primary → Color?
-
read-only, override
- primaryContainer → Color?
-
read-only, override
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- scrim → Color?
-
read-only, override
- secondary → Color?
-
read-only, override
- secondaryContainer → Color?
-
read-only, override
- seedColor → Color
-
read-only
- shadow → Color?
-
read-only, override
- surface → Color?
-
read-only, override
- surfaceTint → Color?
-
read-only, override
- surfaceVariant → Color?
-
read-only, override
- tertiary → Color?
-
read-only, override
- tertiaryContainer → Color?
-
read-only, override
Methods
-
map<
TResult extends Object?> (TResult $default(_ColorScheme value), {required TResult fromSeed(ColorSchemeFromSeed value)}) → TResult -
@optionalTypeArgs, inherited
-
mapOrNull<
TResult extends Object?> (TResult? $default(_ColorScheme value)?, {TResult? fromSeed(ColorSchemeFromSeed value)?}) → TResult? -
@optionalTypeArgs, inherited
-
maybeMap<
TResult extends Object?> (TResult $default(_ColorScheme value)?, {TResult fromSeed(ColorSchemeFromSeed value)?, required TResult orElse()}) → TResult -
@optionalTypeArgs, inherited
-
maybeWhen<
TResult extends Object?> (TResult $default(Brightness brightness, Color primary, Color onPrimary, Color? primaryContainer, Color? onPrimaryContainer, Color secondary, Color onSecondary, Color? secondaryContainer, Color? onSecondaryContainer, Color? tertiary, Color? onTertiary, Color? tertiaryContainer, Color? onTertiaryContainer, Color error, Color onError, Color? errorContainer, Color? onErrorContainer, Color background, Color onBackground, Color surface, Color onSurface, Color? surfaceVariant, Color? onSurfaceVariant, Color? outline, Color? outlineVariant, Color? shadow, Color? scrim, Color? inverseSurface, Color? onInverseSurface, Color? inversePrimary, Color? surfaceTint)?, {TResult fromSeed(Color seedColor, Brightness brightness, Color? primary, Color? onPrimary, Color? primaryContainer, Color? onPrimaryContainer, Color? secondary, Color? onSecondary, Color? secondaryContainer, Color? onSecondaryContainer, Color? tertiary, Color? onTertiary, Color? tertiaryContainer, Color? onTertiaryContainer, Color? error, Color? onError, Color? errorContainer, Color? onErrorContainer, Color? outline, Color? outlineVariant, Color? background, Color? onBackground, Color? surface, Color? onSurface, Color? surfaceVariant, Color? onSurfaceVariant, Color? inverseSurface, Color? onInverseSurface, Color? inversePrimary, Color? shadow, Color? scrim, Color? surfaceTint)?, required TResult orElse()}) → TResult -
@optionalTypeArgs, inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(Brightness brightness, Color primary, Color onPrimary, Color? primaryContainer, Color? onPrimaryContainer, Color secondary, Color onSecondary, Color? secondaryContainer, Color? onSecondaryContainer, Color? tertiary, Color? onTertiary, Color? tertiaryContainer, Color? onTertiaryContainer, Color error, Color onError, Color? errorContainer, Color? onErrorContainer, Color background, Color onBackground, Color surface, Color onSurface, Color? surfaceVariant, Color? onSurfaceVariant, Color? outline, Color? outlineVariant, Color? shadow, Color? scrim, Color? inverseSurface, Color? onInverseSurface, Color? inversePrimary, Color? surfaceTint), {required TResult fromSeed(Color seedColor, Brightness brightness, Color? primary, Color? onPrimary, Color? primaryContainer, Color? onPrimaryContainer, Color? secondary, Color? onSecondary, Color? secondaryContainer, Color? onSecondaryContainer, Color? tertiary, Color? onTertiary, Color? tertiaryContainer, Color? onTertiaryContainer, Color? error, Color? onError, Color? errorContainer, Color? onErrorContainer, Color? outline, Color? outlineVariant, Color? background, Color? onBackground, Color? surface, Color? onSurface, Color? surfaceVariant, Color? onSurfaceVariant, Color? inverseSurface, Color? onInverseSurface, Color? inversePrimary, Color? shadow, Color? scrim, Color? surfaceTint)}) → TResult -
@optionalTypeArgs, inherited
-
whenOrNull<
TResult extends Object?> (TResult? $default(Brightness brightness, Color primary, Color onPrimary, Color? primaryContainer, Color? onPrimaryContainer, Color secondary, Color onSecondary, Color? secondaryContainer, Color? onSecondaryContainer, Color? tertiary, Color? onTertiary, Color? tertiaryContainer, Color? onTertiaryContainer, Color error, Color onError, Color? errorContainer, Color? onErrorContainer, Color background, Color onBackground, Color surface, Color onSurface, Color? surfaceVariant, Color? onSurfaceVariant, Color? outline, Color? outlineVariant, Color? shadow, Color? scrim, Color? inverseSurface, Color? onInverseSurface, Color? inversePrimary, Color? surfaceTint)?, {TResult? fromSeed(Color seedColor, Brightness brightness, Color? primary, Color? onPrimary, Color? primaryContainer, Color? onPrimaryContainer, Color? secondary, Color? onSecondary, Color? secondaryContainer, Color? onSecondaryContainer, Color? tertiary, Color? onTertiary, Color? tertiaryContainer, Color? onTertiaryContainer, Color? error, Color? onError, Color? errorContainer, Color? onErrorContainer, Color? outline, Color? outlineVariant, Color? background, Color? onBackground, Color? surface, Color? onSurface, Color? surfaceVariant, Color? onSurfaceVariant, Color? inverseSurface, Color? onInverseSurface, Color? inversePrimary, Color? shadow, Color? scrim, Color? surfaceTint)?}) → TResult? -
@optionalTypeArgs, inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited