flutter_stretchable_widgets 0.0.5 copy "flutter_stretchable_widgets: ^0.0.5" to clipboard
flutter_stretchable_widgets: ^0.0.5 copied to clipboard

A lot of widgets that can be expanded or collapsed by calling the methods show() and hide().

flutter_stretchable_widgets #

pub package

Flutter widgets with stretchable capacity

Demonstrations #

Usage #

````
import 'package:flutter_stretchable_widgets/widget/stretchable_panel_view.dart';

...
@override
Widget build(BuildContext context) {
    return Stack(
      children: [
        /// the left top one
        Positioned(
          left: 0,
          right: 0,
          top: 80,
          child: StretchablePanelWidget(
            triggerWidget: const Icon(Icons.add),
            stretchWidget: Text('Hello world', style: TextStyle(color: Colors.grey.withAlpha(128))),
          ),
        ),

        /// the right top one
        Positioned(
          left: 0,
          right: 0,
          top: 80,
          child: StretchablePanelWidget(
            widgetsBuilder: (context, state) {
              return state.isShowingTriggeredWidget ? const Icon(Icons.add) : const Text('Hello world');
            },
          ),
        ),
      ],
    );
}
...
````

Features and bugs #

Please feel free to: request new features and bugs at the issue tracker

7
likes
0
points
61
downloads

Publisher

unverified uploader

Weekly Downloads

A lot of widgets that can be expanded or collapsed by calling the methods show() and hide().

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_stretchable_widgets