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.
ScrollShadow
const ScrollShadow({
super.key,
required this.child,
this.controller,
this.size = 100,
this.enabled = true,
this.visibilityThreshold = 0,
this.borderRadius = BorderRadius.zero,
this.color,
this.orientation,
this.visibility = ScrollShadowVisibility.auto,
this.animationDuration,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
child | Widget | Yes | — |
controller | ScrollController? | No | null |
size | double | No | 100 |
enabled | bool | No | true |
visibilityThreshold | double | No | 0 |
borderRadius | BorderRadiusGeometry | No | BorderRadius.zero |
color | Color? | No | null |
orientation | Axis? | No | null |
visibility | ScrollShadowVisibility | No | ScrollShadowVisibility.auto |
animationDuration | Duration? | 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/utilities/scroll_shadow/scroll_shadow.dart
This reference is generated from the ScrollShadow declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

