Skip to content
pubscout

rubber

2.1.0, released 2 months ago by an unverified publisher

Elastic bottom sheet widget with customizable spring animation.

WASM-ready
$ flutter pub add rubber
Source repository

What it does

Provides a draggable bottom sheet that can snap, fling and show a configurable scrim. It supports strict bounds, elastic overscroll and continuous position listening.

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

Use it when

  • You need a bottom sheet that can be dragged and snapped with physics‑based motion
  • You want a customizable scrim and control over fling thresholds
  • You target Flutter 3.44+ and prefer a declarative API

Skip it when

  • You need a full‑screen modal or complex navigation flow
  • You require support for older Flutter/Dart versions
  • You need a sheet with built‑in theming or platform‑specific behavior

Strengths

  • Easy to add and configure
  • Supports strict bounds and elastic overscroll
  • Customizable scrim with tap callback
  • Handles scroll handoff during fast expansion

Weaknesses

  • Early preview – API may change
  • Limited to bottom‑sheet use‑case
  • Requires Flutter 3.44+

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
RubberBottomSheet(
  animationController: controller,
  lowerLayer: const MyBackground(),
  upperLayer: const MySheetContent(),
  draggable: true,
  snapThreshold: 0.4,
  minFlingVelocity: 700,
  completeFlingVelocity: 5000,
  scrimColor: Colors.black54,
  onScrimTap: controller.collapse,
);

Alternatives

Packages that do the same job and could replace rubber.

  • sheet

    A fully customizable draggable bottom sheet for Flutter.

  • splashscreen

    A customizable, theme‑aware splash screen widget with timer or future navigation and entrance animations.

  • marqueer

    A customizable Flutter marquee widget for smooth multi-direction scrolling content.

  • interactive_bottom_sheet

    A customizable interactive bottom sheet that lets users interact with the screen behind it.