ErrorText constructor

const ErrorText({
  1. Key? key,
  2. required Exception exception,
  3. TextAlign? textAlign,
})

Implementation

const ErrorText({
  Key? key,
  required this.exception,
  this.textAlign,
}) : super(key: key);