elastic_sheet 0.2.0 copy "elastic_sheet: ^0.2.0" to clipboard
elastic_sheet: ^0.2.0 copied to clipboard

A physics-driven Flutter surface for anchor-based expansion, liquid spring motion, dynamic sizing, and partial actions.

example/lib/main.dart

// Full example app and showcase:
// https://github.com/Abdualsslam/elastic_sheet/tree/main/example
//
// Includes:
// - Interactive playground with live spring controls
// - Care Desk unified showcase
// - Multiple real-world scenarios

import 'package:flutter/material.dart';
import 'src/elastic_sheet_checkout_showcase_page.dart';
import 'src/elastic_sheet_playground.dart';
import 'src/elastic_sheet_unified_showcase_page.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        useMaterial3: true,
        colorScheme: ColorScheme.fromSeed(seedColor: const Color(0xFF4F46E5)),
      ),
      routes: {
        ElasticSheetUnifiedShowcasePage.routeName: (_) =>
            const ElasticSheetUnifiedShowcasePage(),
        ElasticSheetCheckoutShowcasePage.routeName: (_) =>
            const ElasticSheetCheckoutShowcasePage(),
      },
      home: const ElasticSheetPlayground(),
    );
  }
}
3
likes
160
points
31
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A physics-driven Flutter surface for anchor-based expansion, liquid spring motion, dynamic sizing, and partial actions.

Repository (GitHub)
View/report issues

Topics

#animation #spring #expandable #bottom-sheet #surface

License

MIT (license)

Dependencies

flutter

More

Packages that depend on elastic_sheet