imaNNeo/fl_chart
Auf GitHub ansehen`BarChartRodData.borderRadius` does not support `BorderRadiusDirectional`
Open
#1.189 geöffnet am 24. Nov. 2022
Fundamentalenhancementgood first issue
Repository-Metriken
- Stars
- (7.513 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
Describe the bug
BarChartRodData.borderRadius does not support BorderRadiusDirectional, as its type is constrained to the BorderRadius implementation instead of the abstract BorderRadiusGeometry representation.
The same happens with FlBorderData.border, which expects a Border instead of a BorderGeometry.
It may be a feature rather than a bug, but I vote for the ability to use these directionality utilities.
To Reproduce
Provide a BorderRadiusDirectional object into the BarChartRodData.borderRadius property, or into FlBorderData.border.
Screenshots
Versions
- which version of Flutter are you using? 3.3.9
- which version of FlChart are you using? 0.55.2