VxCapsule class

Inheritance
Available Extensions

Constructors

VxCapsule({Key? key, Widget? child, Color? backgroundColor, double? width, double? height, BoxBorder? border, BoxDecoration? customDecoration, Gradient? gradient, DecorationImage? backgroundImage, BlendMode? blendMode, List<BoxShadow>? shadows})
Creates a capsule that represents a shape.

Properties

backgroundColor Color?
The color with which to fill the circle.
final
backgroundImage DecorationImage?
To provide background image
final
blendMode BlendMode?
To provide blend mode
final
border BoxBorder?
Border to provide stroke.
final
child Widget?
The widget below this widget in the tree.
final
customDecoration BoxDecoration?
To fully provide custom decoration
final
gradient Gradient?
To provide gradient
final
hashCode int
The hash code for this object.
no setterinherited
height double?
The height of the capsule.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
noneShadow VxCapsule
Shadowing
no setterinherited
outerShadow VxCapsule
no setterinherited
outerShadow2Xl VxCapsule
no setterinherited
outerShadow3Xl VxCapsule
no setterinherited
outerShadowLg VxCapsule
no setterinherited
outerShadowMd VxCapsule
no setterinherited
outerShadowSm VxCapsule
Shadowing
no setterinherited
outerShadowXl VxCapsule
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadow VxCapsule
Shadowing
no setterinherited
shadow2xl VxCapsule
To give twice extra large shadow.
no setterinherited
shadow3xl VxCapsule
To give thrice extra large shadow.
no setterinherited
shadow4xl VxCapsule
To give 4x extra large shadow.
no setterinherited
shadow5xl VxCapsule
To give 5x extra large shadow.
no setterinherited
shadowLg VxCapsule
To give large shadow.
no setterinherited
shadowMax VxCapsule
To give max shadow.
no setterinherited
shadowMd VxCapsule
To give medium shadow.
no setterinherited
shadows List<BoxShadow>?
To provide blend mode
final
shadowSm VxCapsule
To give small shadow.
no setterinherited
shadowXl VxCapsule
To give extra large shadow.
no setterinherited
shadowXs VxCapsule
To give extra small shadow.
no setterinherited
velocityShadow List<BoxShadow>?
getter/setter pairinherited
width double?
The width of the capsule.
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
setChildForShadow(VxCapsule child) → void
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