flutterfly 0.2.0+10 icon indicating copy to clipboard operation
flutterfly: ^0.2.0+10 copied to clipboard

A collection of common widgets, validators, extensions, utilities, as well as some other stuffs that are currently non-existent.

flutterfly #

A collection of common widgets, validators, extensions, utilities, as well as some other stuffs that are currently non-existent in Flutter.

Getting Started #

  • Add flutterfly to your flutter package's pubspec.yaml file :

    dependencies:
      flutterfly: ^<latest_version>
    

Main Considerations #

  • Only includes the stuffs that don't exist yet, yet essentially important and is broadly re-used across our projects, hence we expect this library to be open for extension, but closed for modification
  • Brutally tested

Contents #

  • Views

    • Widget Components
      • URL Image with loading progress
      • Timeline
  • Common

    • Extensions
      • String Extensions
        • Capitalize
        • ToDateTime
        • Digit Only
        • Ellipsis
        • etc.
      • Num Extensions
        • isBetween(min, max)
      • Map Extensions
        • tryCast
        • hasValue(String key)
        • toList
      • DateTime Extensions
        • Calculate Age
    • Validators
      • String Validator
        • Required
        • Min Length
        • Special Characters
        • Email
        • Valid Date
        • Allow Digits Only
        • Disallow any digits
        • No white space
        • Contains
        • etc.
      • Num Validator
        • Required
        • Positive
        • Greater Than
        • Less Than
        • Between
        • etc.
    • Utils
      • Connection Utils
        • Check Internet Connection

Documentation #

Validators #

Please check out the Unit Tests as well as the Example

Extensions #

Please check out the Unit Tests

Pull requests are welcome :)

License #

MIT

1
likes
140
pub points
38%
popularity

Publisher

unverified uploader

A collection of common widgets, validators, extensions, utilities, as well as some other stuffs that are currently non-existent.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter, intl

More

Packages that depend on flutterfly