HoverBaseCard class

Inheritance

Constructors

HoverBaseCard({Widget? child = const SizedBox.shrink(), double? elevation, double? cornerRadius, Color? color = Colors.white, double? margin, double? leftMargin, double? topMargin, double? rightMargin, double? bottomMargin, double? padding, double? leftPadding, double? topPadding, double? bottomPadding, double? rightPadding})

Properties

bottomMargin double?
Bottom margin of the card. Overridden by margin if margin is set.
final
bottomPadding double?
Bottom padding of the card. Overridden by padding if padding is set.
final
child Widget?
The widget below this widget in the tree.
final
color Color?
The card's background color
final
cornerRadius double?
Sets the corner radius of the card.
final
elevation double?
The z-coordinate at which to place this card. This controls the size of the shadow below the card.
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
leftMargin double?
Left margin of the card. Overridden by margin if margin is set.
final
leftPadding double?
Left padding of the card. Overridden by padding if padding is set.
final
margin double?
Sets the margin for all sides of the card. If this is set it will override any values set for leftMargin, topMargin, rightMargin, or bottomMargin.
final
padding double?
Sets the padding for all sides of the card. If this is set it will override any values set for leftPadding, topPadding, rightPadding, or bottomPadding.
final
rightMargin double?
Right margin of the card. Overridden by margin if margin is set.
final
rightPadding double?
Right padding of the card. Overridden by padding if padding is set.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topMargin double?
Top margin of the card. Overridden by margin if margin is set.
final
topPadding double?
Top padding of the card. Overridden by padding if padding is set.
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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