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

Pick colors from your application anywhere easily and conveniently

eye_dropper #

Pick colors from your application anywhere easily and

Web Example

Features #

  • Pick color from your application screen

How to use it #

Add the dependency:

$ flutter pub add eye_dropper

Import the package:

import 'package:eye_dropper/eye_dropper.dart';

Wrap MaterialApp.builder or WidgetsApp.builder with EyeDropper:

MaterialApp(
    home: const MyHomePage(title: 'Flutter Color Picker Demo'),
    builder: (context, child) => EyeDropper(child: child!),
),

Anywhere you want to use, call EyeDropper.enableEyeDropper() method:

EyeDropper.enableEyeDropper(context, (color) {
  // handle the action you want after getting the color
});

Screenshots #

  • Android and Ios

  • Web web

For testing in web, click here

6
likes
140
points
57
downloads

Publisher

unverified uploader

Weekly Downloads

Pick colors from your application anywhere easily and conveniently

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, image

More

Packages that depend on eye_dropper