borderType property Null safety

MultiLevelBorderType borderType
final

Specifies the border type of multi-level labels.

Defaults to 'MultiLevelLabelBorderType.rectangle'

Widget build(BuildContext context) {
  return Container(
    child: SfCartesianChart(
      primaryXAxis: NumericAxis(
        multiLevelLabelStyle: MultiLevelLabelStyle(
          borderType: MultiLevelBorderType.curlyBrace
        ),
        multiLevelLabels: const <NumericMultiLevelLabel>[
          NumericMultiLevelLabel(
            start: 0,
            end: 4,
            text: 'First',
          )
        ]
      )
    )
  );
}

Implementation

final MultiLevelBorderType borderType;