bulb_plugin 0.0.2 copy "bulb_plugin: ^0.0.2" to clipboard
bulb_plugin: ^0.0.2 copied to clipboard

A customizable bulb widget plugin for Flutter apps.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:bulb_plugin/bulb_plugin.dart'; // Import your plugin

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Bulb Plugin Example',
      home: SizedBox(
        width: MediaQuery.of(context).size.width,
        height: MediaQuery.of(context).size.height,
        child: BulbView(
          bulbSize: 200,
          colors: [Colors.yellow, Colors.blueGrey, Colors.teal, Colors.pink],
        ),
      ),
    );
  }
}
0
likes
140
points
36
downloads

Publisher

unverified uploader

Weekly Downloads

A customizable bulb widget plugin for Flutter apps.

Repository (GitHub)

Documentation

API reference

License

unknown (license)

Dependencies

flutter, flutter_svg, flutter_web_plugins, plugin_platform_interface, provider, toggle_switch

More

Packages that depend on bulb_plugin