NsgCircle constructor

const NsgCircle({
  1. Key? key,
  2. String text = '',
  3. Color? color,
  4. Color? backColor,
  5. Color? borderColor,
  6. BoxShadow? shadow,
  7. FontWeight fontWeight = FontWeight.w400,
  8. double borderWidth = 1,
  9. double height = 28,
  10. double width = 28,
  11. double fontSize = 16,
  12. EdgeInsets margin = EdgeInsets.zero,
})

Implementation

const NsgCircle(
    {Key? key,
    this.text = '',
    this.color,
    this.backColor,
    this.borderColor,
    this.shadow,
    this.fontWeight = FontWeight.w400,
    this.borderWidth = 1,
    this.height = 28,
    this.width = 28,
    this.fontSize = 16,
    this.margin = EdgeInsets.zero})
    : super(key: key);