DVStudioSplash class

The application's splash, as the build writes it for the web page: dartvel.splash's colours and image, and the loading bar's colour.

The web page's splash is removed at Flutter's first frame, which for Studio is before Studio has anything to draw: its code is fetched after its route opens, and the grant is asked again. Studio draws this until it is ready, so nobody opening it looks at a blank page.

Annotations

Constructors

DVStudioSplash({required Color color, required Color darkColor, String? image, String? darkImage, double imageWidth = 96, Color? progressColor, String? loadingText})
const

Properties

color → Color
The page's colour, and in dark mode.
final
darkColor → Color
final
darkImage → String?
final
hashCode → int
The hash code for this object.
no setterinherited
image → String?
The picture in the middle, as the web page serves it (dartvel-splash.png), and its dark version; none when the project has no image.
final
imageWidth → double
final
loadingText → String?
The pulsing line under the picture (splash.loadingText), as the web splash shows it; none when null.
final
progressColor → Color?
The loading bar's colour; no bar when null.
final
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