FlutterPowerKitSplash constructor

const FlutterPowerKitSplash({
  1. Key? key,
  2. String? imageAsset,
  3. String? version,
  4. int duration = 2000,
  5. VoidCallback? onNavigationComplete,
  6. String? appName,
  7. Color? color,
})

Implementation

const FlutterPowerKitSplash({
  super.key,
  this.imageAsset,
  this.version,
  this.duration = 2000, // Default duration in milliseconds (2 seconds)
  this.onNavigationComplete,
  this.appName,
  this.color,
});