VxGlassmorphic class

Inheritance
Available Extensions

Constructors

VxGlassmorphic({Key? key, double? opacity = 0.05, Widget? child, double? blur = 5, BoxBorder? border, double? height, double? width, BorderRadius? borderRadius, double? circularRadius = 10.0, double? shadowStrength = 4})
const

Properties

blur double?
blur intensity\n default value is 5
final
border BoxBorder?
border example\n Border.all(\n color: Colors.white.withOpacity(0.3),\n width: 0.3,\n style: BorderStyle.solid,\n ), default is same as above example\n
final
borderRadius BorderRadius?
Border Radius\n example:\n borderRadius: BorderRadius.circular(10),\n default value is same as example\n to remove border use BorderRadius.zero,\n
final
child Widget?
Widget child
final
circularRadius double?
Works only when border Radius is null
final
hashCode int
The hash code for this object.
no setterinherited
height double?
VxGlassmorphic Height in double\n no default height
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
opacity double?
opacity is used to control the glass frosted effect\n opacity should be between 0 and 1\n 1 means full opaque\n 0 means full transparent\n default value is 0.1\n
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowStrength double?
shadow strength\n default value is 4\n to remove shadow provide value 0\n shadowStrength : 0\n
final
width double?
VxGlassmorphic Width in double\n no default width
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