comicFieldInError function

bool comicFieldInError(
  1. BuildContext context
)

Whether an enclosing form field is showing an error.

Implementation

bool comicFieldInError(BuildContext context) =>
    context.dependOnInheritedWidgetOfExactType<_FieldTrouble>()?.error ?? false;