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.
ImageStack
const ImageStack({
super.key,
required this.images,
this.width = 200,
this.aspectRatio = 1,
this.maxVisible = 3,
this.spacing = 7,
this.rotation = .045,
this.borderRadius,
this.showCount = true,
this.openViewer = true,
this.onPressed,
this.motion,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
images | List<ImageProvider<Object>> | Yes | — |
width | double | No | 200 |
aspectRatio | double | No | 1 |
maxVisible | int | No | 3 |
spacing | double | No | 7 |
rotation | double | No | .045 |
borderRadius | double? | No | null |
showCount | bool | No | true |
openViewer | bool | No | true |
onPressed | VoidCallback? | No | null |
motion | ComponentMotion? | 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/media/image_stack/image_stack.dart
This reference is generated from the ImageStack declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

