MultiLevelLabelStyle constructor

const MultiLevelLabelStyle({
  1. TextStyle? textStyle = const TextStyle(fontSize: 12.0, fontStyle: FontStyle.normal, fontWeight: FontWeight.normal, fontFamily: 'Normal'),
  2. double borderWidth = 0,
  3. Color? borderColor,
  4. MultiLevelBorderType borderType = MultiLevelBorderType.rectangle,
})

Creating an argument constructor of MultiLevelLabelStyle class.

Implementation

const MultiLevelLabelStyle(
    {this.textStyle = const TextStyle(
        fontSize: 12.0,
        fontStyle: FontStyle.normal,
        fontWeight: FontWeight.normal,
        fontFamily: 'Normal'),
    this.borderWidth = 0,
    this.borderColor,
    this.borderType = MultiLevelBorderType.rectangle});