axisBorderType property Null safety

AxisBorderType axisBorderType
final

Border type of the axis label.

Defaults to AxisBorderType.rectangle.

Also refer AxisBorderType.

Widget build(BuildContext context) {
  return Container(
    child: SfCartesianChart(
      primaryXAxis: NumericAxis(
        axisBorderType: AxisBorderType.withoutTopAndBottom,
      )
    )
  );
}

Implementation

final AxisBorderType axisBorderType;