YaruDialogTitleBar constructor
const
YaruDialogTitleBar({
- Key? key,
- Widget? leading,
- Widget? title,
- List<
Widget> ? actions, - bool? centerTitle,
- double? titleSpacing,
- Color? foregroundColor,
- Color? backgroundColor,
- ShapeBorder? shape = defaultShape,
- BorderSide? border,
- YaruTitleBarStyle? style = YaruTitleBarStyle.normal,
- bool? isActive,
- bool? isClosable = true,
- bool? isDraggable,
- bool? isMaximizable = false,
- bool? isMinimizable = false,
- bool? isRestorable = false,
- FutureOr<
void> onClose()? = _maybePop, - FutureOr<
void> onDrag()? = YaruWindow.drag, - FutureOr<
void> onMaximize()? = null, - FutureOr<
void> onMinimize()? = null, - FutureOr<
void> onRestore()? = null, - FutureOr<
void> onShowMenu()? = YaruWindow.showMenu, - Object? heroTag = _kYaruTitleBarHeroTag,
- YaruWindowControlPlatform? platform,
- EdgeInsetsGeometry? buttonPadding,
- double? buttonSpacing,
Implementation
const YaruDialogTitleBar({
super.key,
super.leading,
super.title,
super.actions,
super.centerTitle,
super.titleSpacing,
super.foregroundColor,
super.backgroundColor,
super.shape = defaultShape,
super.border,
super.style = YaruTitleBarStyle.normal,
super.isActive,
super.isClosable = true,
super.isDraggable,
super.isMaximizable = false,
super.isMinimizable = false,
super.isRestorable = false,
super.onClose = _maybePop,
super.onDrag = YaruWindow.drag,
super.onMaximize = null,
super.onMinimize = null,
super.onRestore = null,
super.onShowMenu = YaruWindow.showMenu,
super.heroTag = _kYaruTitleBarHeroTag,
super.platform,
super.buttonPadding,
super.buttonSpacing,
});