SpinachText constructor

const SpinachText({
  1. Key? key,
  2. required String text,
  3. double fontSize = 18,
  4. FontWeight fontWeight = FontWeight.normal,
  5. Color color = Colors.black,
  6. TextAlign textAlign = TextAlign.justify,
})

Implementation

const SpinachText({
  Key? key,
  required this.text,
  this.fontSize = 18,
  this.fontWeight = FontWeight.normal,
  this.color = Colors.black,
  this.textAlign = TextAlign.justify,
});