BackgroundType enum

Type of Background

There are several types of backgrounds. In this package we have provided a base for most common ones



Solid color backgrounds:

Simple and straightforward, these backgrounds use a single color to fill the entire background.



Gradient backgrounds:

These backgrounds use a blend of two or more colors that transition smoothly from one color to another.



Image backgrounds:

An image can be used as the background, which can be a photograph, illustration, or pattern.



Video backgrounds:

These backgrounds use a video loop as the background, which can add depth and movement to the design.



Textured backgrounds:

These backgrounds use a repeating pattern or texture to add visual interest.



Parallax backgrounds:

These backgrounds create a 3D effect by moving elements at different speeds as the user scrolls.



Transparent backgrounds:

These backgrounds are partially or fully transparent, allowing elements behind them to be visible.

Inheritance
Available extensions

Values

color → const BackgroundType

Solid color backgrounds:

Simple and straightforward,

These backgrounds use a single color to fill the entire background. This actually what flutter scaffold background color is all about.

gradient → const BackgroundType

Gradient backgrounds:

These backgrounds use a blend of two or more colors that transition smoothly from one color to another. Depending on implementation this can allow for linear gradient, radial gradient, and other custom gradients

image → const BackgroundType

Image backgrounds:

An image can be used as the background, which can be a photograph, illustration, or pattern.

video → const BackgroundType

Video backgrounds:

These backgrounds use a video loop as the background, which can add depth and movement to the design.

text → const BackgroundType

Textured backgrounds:

These backgrounds use a repeating pattern or texture to add visual interest. This can be a simple pattern or a complex

parallax → const BackgroundType

Parallax backgrounds:

These backgrounds create a 3D effect by moving elements at different speeds as the user scrolls.

transparent → const BackgroundType

Transparent backgrounds:

These backgrounds are partially or fully transparent, allowing elements behind them to be visible.

These backgrounds can be used together with other backgrounds to create an immersive feel of cohesion

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<BackgroundType>
A constant List of the values in this enum, in order of their declaration.