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

A new Flutter package which helps in picking random color, random element from list, random numbers and many more.

colorlizer #

A new Flutter package which helps in picking random color, random element from list, random numbers and many more

Usage #

  • add the dependency to your [pubspec.yaml]
  dependencies:
    flutter:
      sdk: flutter
    colorlizer:
  • some usage
// create a instance of colorlizer
ColorLizer colorlizer = ColorLizer();

// getrandomcolor
colorlizer.getRandomColors();

// get your wished random colors
colorlizer.getSpecialFiledColor([Colors.red,Colors.green]);

// get random element from  a list
colorlizer.getRandomElementFromList(['Hello','Hallo','How are you']);

// get random number with provided ranges
colorlizer.getRandomNumber(3,78); // pick random number between 3 and 78

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

6
likes
100
pub points
80%
popularity

Publisher

unverified uploader

A new Flutter package which helps in picking random color, random element from list, random numbers and many more.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on colorlizer