LinearGauge class
Constructors
LinearGauge.new ({Key ? key , double ? start = 0 , double ? end = 100 , double ? steps = 0 , bool ? showLinearGaugeContainer = true , GaugeOrientation ? gaugeOrientation = GaugeOrientation.horizontal , TextStyle ? textStyle = const TextStyle(fontSize: 12.0, color: Color.fromARGB(255, 86, 86, 86), fontStyle: FontStyle.normal, fontWeight: FontWeight.normal) , double ? primaryRulersWidth = 1.0 , double ? primaryRulersHeight = 15.0 , double ? secondaryRulersHeight = 1.0 , double ? secondaryRulersWidth = 1.0 , double ? labelTopMargin = 0.0 , Color ? primaryRulerColor = Colors.black54 , Color ? secondaryRulerColor = Colors.grey , LinearGaugeBoxDecoration ? linearGaugeBoxDecoration = const LinearGaugeBoxDecoration() , LabelStyle ? labelStyle = const LabelStyle() , double ? secondaryRulerPerInterval = 1.0 , bool showSecondaryRulers = true , bool showPrimaryRulers = true , double ? value = 0 })
LinearGauge is a visualization of measurement widget with a linear scale values. Linear
Gauge as rich sets of config parameters which can be modified as per requirement
const
Methods
createElement ()
→ LeafRenderObjectElement
RenderObjectWidgets always inflate to a RenderObjectElement subclass.
inherited
createRenderObject (BuildContext context )
→ RenderLinearGauge
Creates an instance of the RenderObject class that this
RenderObjectWidget represents, using the configuration described by this
RenderObjectWidget .
override
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
didUnmountRenderObject (covariant RenderObject renderObject )
→ void
A render object previously associated with this widget has been removed
from the tree. The given RenderObject will be of the same type as
returned by this object's createRenderObject .
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
updateRenderObject (BuildContext context , covariant RenderLinearGauge renderObject )
→ void
Copies the configuration described by this RenderObjectWidget to the
given RenderObject , which will be of the same type as returned by this
object's createRenderObject .
override
geekyants_flutter_gauges 0.0.6+1