minimum property Null safety

DateTime? minimum
final

Minimum value of the axis. The axis will start from this date.

Defaults to null.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          primaryXAxis: DateTimeAxis(minimum: DateTime(2000)),
       )
   );
}

Implementation

final DateTime? minimum;