BarDataSet class Null safety

Inheritance

Constructors

BarDataSet({required List<LineChartValue> data, String? legend, PdfColor? borderColor, double borderWidth = 1.5, PdfColor color = PdfColors.blue, bool? drawBorder, bool drawSurface = true, double surfaceOpacity = 1, double width = 10, double offset = 0, Axis axis = Axis.horizontal})

Properties

axis Axis
final
borderColor PdfColor?
final
borderWidth double
final
box PdfRect?
The bounding box of this widget, calculated at layout time
read / write, inherited
color PdfColor?
final, inherited
data List<LineChartValue>
final
drawBorder bool
final
drawSurface bool
final
hashCode int
The hash code for this object. [...]
read-only, inherited
legend String?
final, inherited
offset double
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
surfaceOpacity double
final
width double
final

Methods

debugPaint(Context context) → void
@protected, inherited
layout(Context context, BoxConstraints constraints, {bool parentUsesSize = false}) → void
First widget pass to calculate the children layout and bounding box
override
legendShape() Widget
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
paint(Context context) → void
Draw itself and its children, according to the calculated box.offset
override
paintBackground(Context context) → void
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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