flutter_scroll_shadow 0.1.0-alpha copy "flutter_scroll_shadow: ^0.1.0-alpha" to clipboard
flutter_scroll_shadow: ^0.1.0-alpha copied to clipboard

outdated

Scroll shadow widget for Flutter. This widget add on scroll widget a shadow, work on widget with ScrollController with vertical or horizontal orientation.

flutter_scroll_shadow #

Pub Package Package Issue Package License

Scroll shadow widget for Flutter. This widget add on scroll widget a shadow, work on widget with ScrollController with vertical or horizontal orientation.

Image
ScrollShadow

Features #

  • Add on scroll widget a shadow
  • Vertical and Horizontal axis
  • Animation time customizable
  • Shadow size customizable

Usage #

Make sure to check out examples.

Installation #

Add the following line to pubspec.yaml:

dependencies:
  flutter_scroll_shadow: ^0.1.0-alpha

Basic setup #

The complete example is available here.

ScrollShadow(
  color: Colors.grey,
  child: ListView(
    children: List.generate(20, (index) => ListTile(title: Text('Element $index'),)),
  ),
);

Advanced options #

Property

  • scrollDirection Axis, is a direction of scroll, Default: Axis.vertical
  • ScrollController (Optional) necessary if child scroll used an external controller or scrollDirection = Axis.horizontal
  • color is a color of shadow, Default: Colors.grey
  • size is a size of shadow, Default: 15
  • child The child contained by the ScrollShadow.
  • animationDuration in milliseconds, it's duration time of animation duration on shadow visible status change

Example #

Image Image
Vertical axis Horizontal axis
31
likes
0
pub points
90%
popularity

Publisher

verified publisherinsideapp.it

Scroll shadow widget for Flutter. This widget add on scroll widget a shadow, work on widget with ScrollController with vertical or horizontal orientation.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_scroll_shadow