LinearGaugeBoxDecoration class

Allows to customize the style of LinearGauge container. Customize features like backgroundColor, thickness, linearGradient, borderRadius and edgeStyle

const LinearGauge(
 linearGaugeBoxDecoration: LinearGaugeBoxDecoration(
  borderRadius: 10.0,
  backgroundColor: Colors.red,
  thickness: 20.0,
 ),
),
Annotations

Constructors

LinearGaugeBoxDecoration({Color backgroundColor = Colors.grey, double? thickness = 4.0, double? borderRadius, Color? linearGaugeValueColor = Colors.blue, LinearEdgeStyle? edgeStyle = LinearEdgeStyle.bothCurve, LinearGradient? linearGradient})
An immutable description of how to paint a box of LinearGauge.
const

Properties

backgroundColor Color
color Set the Color of the LinearGauge Container
final
borderRadius double?
borderRadius Set corners to soft edges/rounded of the LinearGauge Container
final
edgeStyle LinearEdgeStyle?
edgeStyle Set the style of the edges of the LinearGauge Container.
final
hashCode int
The hash code for this object.
no setterinherited
linearGaugeValueColor Color?
borderRadius Set corners to soft edges/rounded of the LinearGauge Container
final
linearGradient LinearGradient?
linearGradient Sets the gradient background of the LinearGauge Container
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thickness double?
thickness Sets the thickness of the LinearGauge
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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