NDivider constructor

NDivider({
  1. Key? key,
  2. String? content,
  3. Color fontColor = Style.dividerTextColor,
  4. double fontSize = Style.dividerFontSize,
  5. Color? lineColor,
  6. bool hairline = false,
  7. String contentPosition = 'center',
  8. Widget? child,
})

Implementation

NDivider(
    {Key? key,
    this.content,
    this.fontColor: Style.dividerTextColor,
    this.fontSize: Style.dividerFontSize,
    this.lineColor,
    this.hairline: false,
    this.contentPosition: 'center',
    this.child})
    : super(key: key);