ErrorText constructor
Implementation
const ErrorText(final String? error,
{this.color = Colors.red, Key? key, this.removeException = true})
: this.error = error ?? 'an Error occured',
super(key: key);
const ErrorText(final String? error,
{this.color = Colors.red, Key? key, this.removeException = true})
: this.error = error ?? 'an Error occured',
super(key: key);