NativeSplash class

The native splash screen: what flutter_native_splash will produce, on every surface and in both themes.

Like LauncherIcon it offers no each: a splash config only means anything in a package that is an app, and quietly declaring one for a pure Dart library would report "no splash configured" forever.

Inheritance

Constructors

NativeSplash({List<NativeSplashPackage> packages = const [], String? label})

Properties

config → Map<String, Object?>
Per-instance configuration, handed to the GUI-side implementation. Must be JSON-encodable — it crosses a process boundary.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
id → String
Stable and globally unique — flutterware.scenarios, acme.deploy. The GUI resolves its native implementation by this string.
finalinherited
label → String
What the sidebar row says. Defaults to the last dotted segment of id.
finalinherited
packages → List<NativeSplashPackage>
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
toJson() → Map<String, Object?>
inherited
toString() → String
A string representation of this object.
inherited

Operators

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