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.
Scaffold
const Scaffold({
super.key,
required this.body,
this.appBar,
this.bottomBar,
this.bottomNavigationBar,
this.navigationPlacement = NavigationPlacement.automatic,
this.sideNavigationWidth,
this.floatingActionButton,
this.floatingActionButtonAlignment = AlignmentDirectional.bottomEnd,
this.floatingActionButtonMargin,
this.resizeToAvoidBottomInset = true,
this.extendBody = false,
this.extendBodyBehindAppBar = false,
this.useSafeArea = true,
this.avoidDisplayFeatures = true,
this.backgroundColor,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
body | Widget | Yes | — |
appBar | Widget? | No | null |
bottomBar | Widget? | No | null |
bottomNavigationBar | Widget? | No | null |
navigationPlacement | NavigationPlacement | No | NavigationPlacement.automatic |
sideNavigationWidth | double? | No | null |
floatingActionButton | Widget? | No | null |
floatingActionButtonAlignment | AlignmentGeometry | No | AlignmentDirectional.bottomEnd |
floatingActionButtonMargin | EdgeInsetsGeometry? | No | null |
resizeToAvoidBottomInset | bool | No | true |
extendBody | bool | No | false |
extendBodyBehindAppBar | bool | No | false |
useSafeArea | bool | No | true |
avoidDisplayFeatures | bool | No | true |
backgroundColor | 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/layouts/scaffold/scaffold.dart
This reference is generated from the Scaffold declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

