UiBordered class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- SingleChildStatelessWidget
- UiWidget
- UiBordered
- Implemented types
- Available extensions
Constructors
- UiBordered({Key? key, BoxBorder? border, Gradient? gradient, Color color = const Color(0xFF000000), double width = 0.0, BorderStyle style = BorderStyle.solid, double strokeAlign = BorderSide.strokeAlignInside, BorderRadiusGeometry? borderRadius, double depth = 1.0, double radius = 0.0, BoxShape shape = BoxShape.rectangle, Clip clipBehavior = Clip.antiAlias, double elevation = 0.0, Color shadowColor = const Color(0xFF000000), Duration? duration, Curve? curve, VoidCallback? onEnd, Widget? child})
-
UiWidget for Bordered, or AnimatedBordered if
durationis present.const
Properties
- border → BoxBorder?
-
Sets Bordered.border.
final
- borderRadius → BorderRadiusGeometry?
-
Sets Bordered.borderRadius.
final
- clipBehavior → Clip
-
Sets Bordered.clipBehavior.
final
- color → Color
-
Sets BorderSide.color as border. Ignored if gradient is set.
final
- curve → Curve
-
no setterinherited
- depth → double
-
Sets UiRadius as borderRadius. Ignored if borderRadius is set.
final
- duration → Duration?
-
finalinherited
- elevation → double
-
Sets Bordered.elevation.
final
- gradient → Gradient?
-
Sets UiBorder.gradient as border. Ignored if border is set.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onEnd → VoidCallback?
-
finalinherited
- radius → double
-
Sets UiRadius as borderRadius. Ignored if borderRadius is set.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shadowColor → Color
-
Sets Bordered.shadowColor.
final
- shape → BoxShape
-
Sets Bordered.shape. Use either it or borderRadius.
final
- strokeAlign → double
-
Sets BorderSide.strokeAlign as border. Ignored if border is set.
final
- style → BorderStyle
-
Sets BorderSide.style as border. Ignored if border is set.
final
- width → double
-
Sets BorderSide.width as border. Ignored if border is set.
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
inherited
-
buildWithChild(
BuildContext context, Widget? child) → Widget -
A build method that receives an extra
childparameter.override -
createElement(
) → SingleChildStatelessElement -
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, int wrapWidth = 65}) → 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
-
ui(
{List< SingleChildWidget> ? children}) → Ui -
Available on Widget, provided by the UiWidgetExtension extension
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited