Group constructor
const
Group(
- List<
Bar> bars, { - GroupConfig config = const GroupConfig(),
- BarConfig defaultBarConfig = const BarConfig(),
Group of bars, packed together, under a single label
.
Using label
, a Widget is generated, that will be displayed, beside the
group of bars, example:-
final companyCostGroup = Group(
[...],
label: (_) => CompanyLogo(),
);
labelBarSpace
is the space between label and the group of bars.
Implementation
const Group(
this.bars, {
this.config = const GroupConfig(),
this.defaultBarConfig = const BarConfig(),
});