const
BarGraph(- {Key? key,
- List<BarDataDay>? barItemsDay,
- Size size = const Size(400, 200),
- bool isBiDirectional = true,
- bool hideGraph = false,
- required bool isLoading,
- required GraphViewType? prevSelectedViewType,
- required GraphViewType selectedViewType,
- required Function onSelectViewType,
- required GraphAvgType selectedAvgType,
- required Function onSelectAvgType,
- Function? onScrollReachEnd,
- Function? onScrollReachStart,
- Cow? cow}
)
Implementation
const BarGraph({
Key? key,
this.barItemsDay,
this.size = const Size(400, 200),
this.isBiDirectional = true,
this.hideGraph = false,
required this.isLoading,
required this.prevSelectedViewType,
required this.selectedViewType,
required this.onSelectViewType,
required this.selectedAvgType,
required this.onSelectAvgType,
this.onScrollReachEnd,
this.onScrollReachStart,
this.cow,
}) : super(key: key);