PlatformSliverAppBar constructor

PlatformSliverAppBar({
  1. Key? key,
  2. Key? widgetKey,
  3. Widget? leading,
  4. bool? automaticallyImplyLeading,
  5. Color? backgroundColor,
  6. bool? stretch,
  7. Widget? title,
  8. PlatformBuilder<MaterialSliverAppBarData>? material,
  9. PlatformBuilder<CupertinoSliverAppBarData>? cupertino,
})

Implementation

PlatformSliverAppBar({
  //Common
  super.key,
  this.widgetKey,
  this.leading,
  this.automaticallyImplyLeading,
  this.backgroundColor,
  this.stretch,
  this.title,
  //Platform
  this.material,
  this.cupertino,
});