SetBackground class

Inheritance

Constructors

SetBackground({InputBackground? background, BackgroundType? type, required bool forDarkTheme})
Changes the background selected by the user; adds background to the list of installed backgrounds
const

Properties

background InputBackground?
background The input background to use; pass null to create a new filled backgrounds or to remove the current background
final
forDarkTheme bool
forDarkTheme True, if the background is chosen for dark theme
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type BackgroundType?
type Background type; pass null to use the default type of the remote background or to remove the current background
final

Methods

copyWith({InputBackground? background, BackgroundType? type, bool? forDarkTheme}) SetBackground
getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

CONSTRUCTOR → const String