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.
ControlField
const ControlField({
super.key,
this.size,
required this.label,
required this.control,
this.description,
this.content,
this.onTap,
this.isDisabled = false,
this.padding,
this.spacing,
this.borderRadius,
this.backgroundColor,
this.borderColor,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
size | ComponentSize? | No | null |
label | Widget | Yes | — |
control | Widget | Yes | — |
description | Widget? | No | null |
content | Widget? | No | null |
onTap | VoidCallback? | No | null |
isDisabled | bool | No | false |
padding | EdgeInsetsGeometry? | No | null |
spacing | double? | No | null |
borderRadius | double? | No | null |
backgroundColor | Color? | No | null |
borderColor | Color? | No | null |
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/control_field/control_field.dart
This reference is generated from the ControlField declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

