-
-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
Hey there, Thanks @apgapg for creating beautiful library. I'm using this library to enhance my knowledge and i notices one thing that when we give the gradient inside the ring and when the value is full then the gradient size is decreased. How can we increase the size of the gradient. I attached the code below:
final gradientList = <List<Color>>[
[
Color.fromRGBO(223, 250, 92, 1),
Color.fromRGBO(129, 250, 112, 1),
],
[
Color.fromRGBO(129, 182, 205, 1),
Color.fromRGBO(91, 253, 199, 1),
],
[
Color.fromRGBO(175, 63, 62, 1.0),
Color.fromRGBO(254, 154, 92, 1),
]
];
PieChart(
dataMap: {"Flutter" : 5},
chartType: ChartType.ring,
chartRadius: 100,
ringStrokeWidth: 10,
baseChartColor: pieChartGreyColor,
colorList: colorList,
totalValue: 5,
gradientList: gradientList
emptyColor: Colors.white,
),
Metadata
Metadata
Assignees
Labels
No labels