Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This release has some breaking changes. So please check out the migration guide here
String
. For example, you can pass an Icon widget as a title, support custom widget for titles #183. Check below samples:FlTitlesData
,AxisTitles
, andSideTitles
are changed. Because we are using a new system which allows you to pass any Flutter Widget as a title instead of passingstring
,textStyle
,textAlign
,rotation
, ... (Read our Migration Guide)colors
property renamed tocolor
to keep only one solid color. And now we have agradient
field instead ofcolorStops
,gradientFrom
andgradientTo
in following classes: BarChartRodData, BackgroundBarChartRodData, BarAreaData, BetweenBarsData, LineChartBarData. (Read our Migration Guide to learn more about it)