imaNNeo/fl_chart

`BarChartRodData.borderRadius` does not support `BorderRadiusDirectional`

开放

#1,189 创建于 2022年11月24日

 (1 条评论) (0 个反应) (0 位负责人)Dart (1,964 个派生)batch import
Fundamentalenhancementgood first issue

仓库指标

星标
 (7,513 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南