BillboardText constructor

const BillboardText({
  1. Key? key,
  2. required String text,
  3. required TextType textType,
  4. Color? boardColor,
  5. Color? borderColor,
  6. double? boardHeight,
})

Creates a billboard with a text at the center

Implementation

const BillboardText({
  Key? key,
  required this.text,
  required this.textType,
  this.boardColor,
  this.borderColor,
  this.boardHeight
}) : super(key: key);