splash method

ApplicationBuilder splash({
  1. String? image,
  2. String? backgroundColor,
  3. int? duration,
})

Set splash screen configuration

image — splash image URL, data URI, or bundle:// reference backgroundColor — background hex color (e.g., #FFFFFF) duration — display duration in milliseconds

Implementation

ApplicationBuilder splash({
  String? image,
  String? backgroundColor,
  int? duration,
}) {
  _definition['splash'] = {
    if (image != null) 'image': image,
    if (backgroundColor != null) 'backgroundColor': backgroundColor,
    if (duration != null) 'duration': duration,
  };
  return this;
}