ChartShaderDetails class Null safety

Holds the onCreateShader callback arguments.

This is the argument type of the onCreateShader callback. The onCreateShader callback is called once while rendering the data points and legend. This provides options to get the outer rect, inner rect, and render type (either series or legend).

Constructors

ChartShaderDetails(Rect outerRect, Rect? innerRect, String renderType)
Creating an argument constructor of ChartShaderDetails class.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
innerRect Rect?
Holds the doughnut and radial bar chart's inner rect value.
final
outerRect Rect
Holds the pie, doughnut and radial bar chart's outer rect value.
final
renderType String
Conveys whether the current rendering element is 'series' or 'legend'.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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