Skip to main content

flutter_scroll_bottom_sheet 1.3.1 copy "flutter_scroll_bottom_sheet: ^1.3.1" to clipboard
flutter_scroll_bottom_sheet: ^1.3.1 copied to clipboard

A flexible bottom sheet built on flutter_nested_scroll that coordinates smoothly with scroll events.

example/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_scroll_bottom_sheet/flutter_bottom_sheet.dart';

void main() {
  runApp(MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(body: SafeArea(child: TestView())),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Center(
      child: TextButton(
        onPressed: () {
          ScrollBottomSheet.open(
            context,
            ListView.builder(
              padding: .all(20),
              itemCount: 100,
              itemBuilder: (context, index) {
                return Text("Hello, World!");
              },
            ),
          );
        },
        child: Text("Oepn Bottom Sheet"),
      ),
    );
  }
}
3
likes
160
points
412
downloads

Documentation

API reference

Publisher

verified publisherttangkong.dev

Weekly Downloads

A flexible bottom sheet built on flutter_nested_scroll that coordinates smoothly with scroll events.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_nested_scroll

More

Packages that depend on flutter_scroll_bottom_sheet