PlatformAppBar constructor Null safety

PlatformAppBar(
  1. {Key? key,
  2. Key? widgetKey,
  3. Widget? title,
  4. Color? backgroundColor,
  5. Widget? leading,
  6. List<Widget>? trailingActions,
  7. bool? automaticallyImplyLeading,
  8. PlatformBuilder<MaterialAppBarData>? material,
  9. PlatformBuilder<CupertinoNavigationBarData>? cupertino}
)

Implementation

PlatformAppBar({
  Key? key,
  this.widgetKey,
  this.title,
  this.backgroundColor,
  this.leading,
  this.trailingActions,
  this.automaticallyImplyLeading,
  this.material,
  this.cupertino,
}) : super(key: key);