Closed ABausG closed 1 year ago
When setting maxBarWidth in the item options the ValueDecoration alignment is not properly aligned anymore.
maxBarWidth
... foregroundDecorations: [ ValueDecoration( textStyle: Theme.of(context).textTheme.bodyText2, alignment: Alignment.topCenter, ), ], itemOptions: BarItemOptions( maxBarWidth: 100, ...
ValueDecoration is deprecated in 3.0. This could be recreated with WidgetDecoration and little bit of math.
When setting
maxBarWidth
in the item options the ValueDecoration alignment is not properly aligned anymore.