floating_bubble 0.0.4
floating_bubble: ^0.0.4 copied to clipboard

discontinued

Generate a floating widget that sticks to the sides of the screen

floating_bubble #

Generate a floating widget that sticks to the sides of the screen Usually paired with a Floating action button.

You must use a PreferredSizeWidget, if you know how to get the size of a child without showing it on screen, please raise an issue or send a PR.

Example #

Stack(
  children: <Widget>[
    MyPage(),
    FloatingBubble(
      child: PreferredSize(
        child: FloatingActionButton(
          child: Icon(Icons.exit_to_app),
            heroTag: "FloatingButton",
            onPressed: () => Navigator.of(context).pop(),
          ),
        preferredSize: Size(64.0, 64.0),
      ),
    )
  ],
)
1
likes
0
pub points
50%
popularity

Publisher

Unknown

Generate a floating widget that sticks to the sides of the screen

Homepage

Documentation

API reference

License

LICENSE

Dependencies

flutter

More

Packages that depend on floating_bubble