Import
import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart' as ui;API Reference
The declarations below match the current FluttyUI source. Types are shown without the optional ui. import prefix.
FieldError
const FieldError({
super.key,
this.size,
required this.child,
this.color,
this.fontSize,
this.fontWeight,
this.padding = EdgeInsets.zero,
this.textAlign = TextAlign.start,
this.maxLines,
this.overflow = TextOverflow.clip,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
size | ComponentSize? | No | null |
child | Widget | Yes | — |
color | Color? | No | null |
fontSize | double? | No | null |
fontWeight | FontWeight? | No | null |
padding | EdgeInsetsGeometry | No | EdgeInsets.zero |
textAlign | TextAlign | No | TextAlign.start |
maxLines | int? | No | null |
overflow | TextOverflow | No | TextOverflow.clip |
Application Setup
Place components under FluttyApp to provide theme, navigation, localization, and overlay defaults. Use theme tokens for shared appearance settings.
Source
lib/src/widgets/forms/field_error/field_error.dart
This reference is generated from the FieldError declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

