Skip to content
On this page

SkeletonGroup

A shared loading treatment for a group of placeholders.

SkeletonGroup in FluttyUISkeletonGroup in FluttyUI dark theme

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.

SkeletonGroup

const SkeletonGroup({
  super.key,
  required this.children,
  this.direction = Axis.vertical,
  this.spacing,
  this.size,
  this.crossAxisAlignment = CrossAxisAlignment.start,
  this.mainAxisAlignment = MainAxisAlignment.start,
  this.color,
  this.padding = EdgeInsets.zero,
});
ParameterTypeRequiredDefault
keyKey?Nonull
childrenList<Widget>Yes—
directionAxisNoAxis.vertical
spacingdouble?Nonull
sizeComponentSize?Nonull
crossAxisAlignmentCrossAxisAlignmentNoCrossAxisAlignment.start
mainAxisAlignmentMainAxisAlignmentNoMainAxisAlignment.start
colorColor?Nonull
paddingEdgeInsetsGeometryNoEdgeInsets.zero

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/feedbacks/skeleton_group/skeleton_group.dart

This reference is generated from the SkeletonGroup declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

DartFlutter

Get started with FluttyUI