Bubble chart

pub package

A simple Dart implementation of bubble chart.

Usage

Add bubble_chart to your pubspec:

dependencies:
  bubble_chart: any # or the latest version on Pub

Add in you project.

  final bubbles = [
    Bubble(
      color: Colors.blue,
      radius: 40,
      builder: (context) {
        return Text("ciao");
      },
      onTap: () {
        print("tap1");
      },
    ),
  ];

  Widget build(BuildContext context) {
    return Scaffold(
      body: BubbleChart(
        bubbles: bubbles,
      ),
    );
  }

Run the example

See the example/ folder for a working example app.

Libraries

bubble_chart