FeedbackText constructor

const FeedbackText({
  1. Key? key,
  2. String text = 'Feedback Text',
  3. FeedbackTextStatus status = FeedbackTextStatus.danger,
  4. bool hasIcon = true,
  5. IconData icon = Icons.error,
})

Creates a FeedbackText instance.

Implementation

const FeedbackText({
  super.key,
  this.text = 'Feedback Text',
  this.status = FeedbackTextStatus.danger,
  this.hasIcon = true,
  this.icon = Icons.error,
});