GTFInputBoxItem constructor

const GTFInputBoxItem({
  1. Key? key,
  2. String text = "",
  3. GTFInputBoxItemType type = GTFInputBoxItemType.box,
  4. bool isShowCursor = false,
  5. double itemWidth = 42,
  6. double radius = 4,
  7. double cursorWidth = 2,
  8. double cursorTopIndent = 8,
  9. double cursorBottomIndent = 8,
  10. double underlineHeight = 2,
  11. double underlineLeftIndent = 0,
  12. double underlineRightIndent = 0,
  13. double fontSize = GTFFont.h3,
  14. FontWeight fontWeight = GTFFont.semiBold,
  15. Color textColor = GTFColor.grey6,
  16. Color backgroundColor = GTFColor.grey1,
  17. Color cursorColor = GTFColor.grey6,
  18. Color underlineColor = GTFColor.grey6,
  19. Gradient? backgroundGradient,
})

Implementation

const GTFInputBoxItem({
  Key? key,
  this.text = "",
  this.type = GTFInputBoxItemType.box,
  this.isShowCursor = false,
  this.itemWidth = 42,
  this.radius = 4,
  this.cursorWidth = 2,
  this.cursorTopIndent = 8,
  this.cursorBottomIndent = 8,
  this.underlineHeight = 2,
  this.underlineLeftIndent = 0,
  this.underlineRightIndent = 0,
  this.fontSize = GTFFont.h3,
  this.fontWeight = GTFFont.semiBold,
  this.textColor = GTFColor.grey6,
  this.backgroundColor = GTFColor.grey1,
  this.cursorColor = GTFColor.grey6,
  this.underlineColor = GTFColor.grey6,
  this.backgroundGradient,
}) : super(key: key);