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.
Separator
const Separator({
super.key,
this.size,
this.direction = Axis.horizontal,
this.color,
this.thickness = 1,
this.borderRadius,
this.length,
this.indent = 0,
this.endIndent = 0,
this.label,
this.labelColor,
this.labelFontSize,
this.labelGap,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
size | ComponentSize? | No | null |
direction | Axis | No | Axis.horizontal |
color | Color? | No | null |
thickness | double | No | 1 |
borderRadius | double? | No | null |
length | double? | No | null |
indent | double | No | 0 |
endIndent | double | No | 0 |
label | String? | No | null |
labelColor | Color? | No | null |
labelFontSize | double? | No | null |
labelGap | double? | 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/layouts/separator/separator.dart
This reference is generated from the Separator declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

