floating_bubbles 0.0.4 copy "floating_bubbles: ^0.0.4" to clipboard
floating_bubbles: ^0.0.4 copied to clipboard

outdated

A Flutter Package for adding Floating bubbles on the Foreground to any Flutter widget.

Floating Bubbles #

A Flutter Package for adding Floating bubbles in the Foreground to a widget.

Getting Started #

In your flutter project(in pubspec.yaml) add the dependency:

dependencies:
   floating_bubbles: ^0.0.4

Import the package:

import 'package:floating_bubbles/floating_bubbles.dart';

Usage #

Here is an snippet on how to use Floating Bubbles to any Widget.

 return Stack(
    children: [
     Positioned.fill(
        child: Container(
        color: Colors.red,
      ),
     ),
     Positioned.fill(
         child: FloatingBubbles(
         noOfBubbles: 25,
         colorOfBubbles: Colors.green.withAlpha(30),
         sizeFactor: 0.16,
    ),
 );

Parameters: #

Name Description Is It Required Default Value
noOfBubbles No. of Bubbles to be present in the screen at a given Time Yes 20
colorOfBubbles Color of the bubbles Yes Colors.white.withAlpha(30)
sizeFactor Size Factor of each bubbles Yes 0.2

Example #

The code for the Example shown below is here.

About Me #

  • My Works Suggestions are Welcome. Any issues just open an issue. I will reach you as soon as possible.

Support #

Give a ⭐/👍 if you liked the work!! :)

69
likes
0
pub points
90%
popularity

Publisher

unverified uploader

A Flutter Package for adding Floating bubbles on the Foreground to any Flutter widget.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, simple_animations

More

Packages that depend on floating_bubbles