DChartBarCustom class
Custom Bar Chart extends to default flutter framework
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- DChartBarCustom
Constructors
-
DChartBarCustom({Key? key, double? max, required List<
DChartBarDataCustom> listData, bool? verticalDirection, BorderSide? domainLineStyle, BorderSide? measureLineStyle, bool? showDomainLine, bool? showMeasureLine, double? spaceBetweenItem, Alignment? valueAlign, TextStyle? domainLabelStyle, TextStyle? measureLabelStyle, bool? showDomainLabel, bool? showMeasureLabel, double? spaceDomainLabeltoChart, double? spaceMeasureLabeltoChart, bool? showLoading, Duration? loadingDuration, EdgeInsetsGeometry? valuePadding, BorderRadius? radiusBar, double? spaceDomainLinetoChart, double? spaceMeasureLinetoChart}) -
const
Properties
- domainLabelStyle → TextStyle?
-
style for text label beside Domain Line
final
- domainLineStyle → BorderSide?
-
Style for Domain line,
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
listData
→ List<
DChartBarDataCustom> -
Chart data.
final
- loadingDuration → Duration?
-
duration for show loading, must set showLoading true
final
- max → double?
-
Limit top value for value chart, beside top domainAxis Line
final
- measureLabelStyle → TextStyle?
-
style for text label beside Measure Line
final
- measureLineStyle → BorderSide?
-
Style for Measure line,
final
- radiusBar → BorderRadius?
-
radius for item bar view
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showDomainLabel → bool?
-
to enable Domain Label Text, set to true
final
- showDomainLine → bool?
-
to enable Domain Line, set to true
final
- showLoading → bool?
-
show loading circle before show chart view
final
- showMeasureLabel → bool?
-
to enable Measure Label Text, set to true
final
- showMeasureLine → bool?
-
to enable Measure Line, set to true
final
- spaceBetweenItem → double?
-
Space between item chart,
final
- spaceDomainLabeltoChart → double?
-
space beetween Domain label & chart view,
final
- spaceDomainLinetoChart → double?
-
space beetween Domain line & chart view,
final
- spaceMeasureLabeltoChart → double?
-
space beetween Measure label & chart view,
final
- spaceMeasureLinetoChart → double?
-
space beetween Measure line & chart view,
final
- valueAlign → Alignment?
-
Align for value text inside chart item
final
- valuePadding → EdgeInsetsGeometry?
-
padding for value text inside item chart view
final
- verticalDirection → bool?
-
Default of direction children chart is horizantally (false)
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< DChartBarCustom> -
Creates the mutable state for this widget at a given location in the tree.
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
-
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited