Skip to content
pubscout

slinky_view

1.1.0, released 2 years ago by idonuntius.com

A bottom sheet widget that expands upward as the user scrolls.

WASM-ready
$ flutter pub add slinky_view
Source repository

What it does

Provides a slinky-like panel that aligns to the bottom of a widget and responds to drag and scroll gestures. It includes a mask layer for the body and allows configuring size bounds, rounded corners, and scroll animations.

AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a bottom sheet panel that interacts with vertical scroll content
  • You want a panel that expands upwards when scrolled and masks the background body

Skip it when

  • You need standard material modal bottom sheets without scroll expansion behavior
  • You are not using Sliver widgets inside the panel contents

Strengths

  • Easy to configure with controllers and parameters
  • Supports customizable max/min sizes and border radius
  • Includes barrier dismissal and masking out of the box

Weaknesses

  • Panel contents strictly require Sliver widgets
  • Very limited documentation beyond basic examples

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
SlinkyView(
  controller: SlinkyController(),
  panelParameter: SlinkyPanelParameter(
    contents: [
      SliverFixedExtentList(
        itemExtent: 150.0,
        delegate: SliverChildListDelegate([const Text('test')]),
      ),
    ],
  ),
  body: Container(
    color: Colors.blue.shade100,
  ),
);

Alternatives

Packages that do the same job and could replace slinky_view.