FlameSplashTheme class

Wraps the splash screen layout options. There is two predefined themes FlameSplashTheme.dark and FlameSplashTheme.white.

Constructors

FlameSplashTheme({required BoxDecoration backgroundDecoration, required WidgetBuilder logoBuilder, BoxConstraints constraints = const BoxConstraints.expand()})
Creates a customized theme. logoBuilder returns the widget that will be rendered in place of main step of the animation.
const

Properties

backgroundDecoration BoxDecoration
Decoration to be applied to the widget underneath the Flame logo. It can be used to set the background color, among other parameters.
final
constraints BoxConstraints
Th constraints of the outside box, defaults to BoxConstraints.expand.
final
hashCode int
The hash code for this object.
no setterinherited
logoBuilder WidgetBuilder
A lambda to build the widget representing the logo itself. By default this will be wired to use the LogoComposite widget.
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

Static Properties

dark FlameSplashTheme
One of the two default themes provided; this is optimal of dark mode apps.
getter/setter pair
white FlameSplashTheme
One of the two default themes provided; this is optimal of light mode apps.
getter/setter pair