SeniorBackdrop class

Inheritance

Constructors

SeniorBackdrop({Key? key, List<Widget>? actions, SeniorBackdropTabBarInfo? backdropTabBarInfo, required Widget body, bool? centerTitle, bool hasTopPadding = true, bool hideLeading = false, double? leadingWidth = 56, Widget? leading, RefreshCallback? onRefresh, dynamic onTapBack()?, SystemUiOverlayStyle? systemOverlayStyle, SeniorBackdropStyle? style, required Widget title})
Creates the SDS Backdrop component.
const

Properties

actions List<Widget>?
The value that will be passed to the SliverAppBar.actions parameter. A list of Widgets to display in a row after the title widget.
final
backdropTabBarInfo SeniorBackdropTabBarInfo?
Tab settings for the backdrop.
final
body Widget
The content displayed on the backdrop. The body is displayed on the front layer.
final
centerTitle bool?
The value that will be passed to the SliverAppBar.centerTitle parameter. Whether the title should be centered.
final
hashCode int
The hash code for this object.
no setterinherited
hasTopPadding bool
Defines whether to add a padding to the top of the front layer.
final
hideLeading bool
Defines whether leading will be omitted.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
leading Widget?
The value that will be passed to the SliverAppBar.leading parameter. A widget to display before the toolbar's title.
final
leadingWidth double?
The value that will be passed to the SliverAppBar.leadingWidth parameter. A widget to display before the toolbar's title.
final
onRefresh RefreshCallback?
Event of reloading the view in a RefreshIndicator. When this parameter is null, a RefreshIndicator is not created.
final
onTapBack → (dynamic Function()?)
Event fired when leading returns is tapped. The return leading is created when the value of the leading parameter is null.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style SeniorBackdropStyle?
The component's style definitions. Allows you to configure: SeniorBackdropStyle.bodyColor the body color of the backdrop. SeniorBackdropStyle.headerColors the color of the backdrop header. Component top. SeniorBackdropStyle.selectedLabelColor the color of the selected labels. SeniorBackdropStyle.tabIndicatorColor the indicator color of the selected tab on the backdrop. SeniorBackdropStyle.unselectedLabelColor the color of unselected labels.
final
systemOverlayStyle SystemUiOverlayStyle?
The value that will be passed to the SliverAppBar.systemOverlayStyle parameter. Specifies the style to use for the system overlays that overlap the AppBar.
final
title Widget
The value that will be passed to the SliverAppBar.title parameter. The primary widget displayed in the app bar.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<SeniorBackdrop>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited