expandable_bottom_sheet 1.0.0+2 copy "expandable_bottom_sheet: ^1.0.0+2" to clipboard
expandable_bottom_sheet: ^1.0.0+2 copied to clipboard

discontinued
outdated

This is a BottomSheet with a draggable height like the Google Maps App on Android.

example/lib/main.dart

import 'package:expandable_bottom_sheet/expandable_bottom_sheet.dart';
import 'package:flutter/material.dart';

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

class ExampleEasy extends StatelessWidget {
  const ExampleEasy({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) => MaterialApp(
        home: Scaffold(
          body: ExpandableBottomSheet(
            background: Container(
              color: Colors.red,
              child: Center(
                child: Text('Background'),
              ),
            ),
            persistentHeader: Container(
              height: 40,
              color: Colors.blue,
              child: Center(
                child: Text('Header'),
              ),
            ),
            expandableContent: Container(
              height: 500,
              color: Colors.green,
              child: Center(
                child: Text('Content'),
              ),
            ),
          ),
        ),
      );
}
180
likes
0
pub points
98%
popularity

Publisher

verified publishertorben-keller.de

This is a BottomSheet with a draggable height like the Google Maps App on Android.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on expandable_bottom_sheet