YaruBanner constructor
const
YaruBanner({
- Key? key,
- VoidCallback? onTap,
- Color? color,
- double? elevation,
- Color? surfaceTintColor,
- required Widget child,
- EdgeInsetsGeometry padding = const EdgeInsets.all(kYaruPagePadding),
- ValueChanged<
bool> ? onHover, - bool? selected,
- MouseCursor? mouseCursor,
Creates a banner with an arbitrary child widget.
Implementation
const YaruBanner({
super.key,
this.onTap,
this.color,
this.elevation,
this.surfaceTintColor,
required this.child,
this.padding = const EdgeInsets.all(kYaruPagePadding),
this.onHover,
this.selected,
this.mouseCursor,
});