InputFeedbackText.check constructor

InputFeedbackText.check({
  1. required Key key,
  2. required bool active,
  3. required Widget text,
  4. Color? color,
})

Implementation

factory InputFeedbackText.check({
  required Key key,
  required bool active,
  required Widget text,
  Color? color,
}) =>
    InputFeedbackText(
      key: key,
      type: InputFeedbackType.icon,
      icon: Icon(
        Icons.check,
      ),
      text: text,
      active: active,
      color: color,
    );