randomizer 0.0.1 copy "randomizer: ^0.0.1" to clipboard
randomizer: ^0.0.1 copied to clipboard

outdated

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

randomizer #

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

Usage #

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

// getrandomcolor
randomizer.getrandomcolor();

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

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

// get random number with provided ranges
randomizer.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.

4
likes
20
pub points
85%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on randomizer