Chart constructor
const
Chart({
- Duration duration = const Duration(milliseconds: 300),
- List<
ChartLayer> layers = const [], - EdgeInsets padding = EdgeInsets.zero,
- Key? key,
Implementation
const Chart({
this.duration = const Duration(
milliseconds: 300,
),
this.layers = const [],
this.padding = EdgeInsets.zero,
Key? key,
}) : super(key: key);