DChartBarDataCustom class

Data model for DChartBarCustom

Constructors

DChartBarDataCustom({Color? color, required double value, required String label, TextStyle? valueStyle, bool? showValue, String? valueTooltip, Widget? labelCustom, Widget? valueCustom, Function? onTap, double? elevation, Color? splashColor, Color? shadowColor})

Properties

color Color?
color for item chart
final
elevation double?
elevation for box item chart
final
hashCode int
The hash code for this object.
no setterinherited
label String
label text below of chart item
final
labelCustom Widget?
you can full customization for label widget, like wrap with Transform widget
final
onTap Function?
action when you tap item bar view
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowColor Color?
color for shadow, elevation has to bigger than 0
final
showValue bool?
set to true to show the value inside chart
final
splashColor Color?
color for animation ripple click
final
value double
value for item chart
final
valueCustom Widget?
you can full customization for value widget
final
valueStyle TextStyle?
style for value text inside chart item view
final
valueTooltip String?
view text which show in tooltip
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