BrnDoughnutDataItem class

BrnDoughnutDataItem 饼状图展示所使用的数据 设置数据的数值、标题、颜色

Constructors

BrnDoughnutDataItem({required double value, required String title, Color color = Colors.blueAccent})
展示部件

Properties

color Color
扇形区域颜色
final
hashCode int
The hash code for this object.
no setterinherited
middleRadius double
中间位置
getter/setter pair
percentage double
当前数据占百分比
getter/setter pair
radius double
占用位置
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startRadius double
起始位置
getter/setter pair
title String
区域标题
final
value double
当前区域值
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