thefunc_flutter 0.0.3 copy "thefunc_flutter: ^0.0.3" to clipboard
thefunc_flutter: ^0.0.3 copied to clipboard

Just Function Collection by therif.

Features #

  • Change Variable Type
  • Check is Numeric
  • simply to Boolean result
  • Auto Permission Request

Getting started #

Will add later...

Usage #

TheFunc().isNumeric("034");

Declaration :
cvt = TheFunc();

Change Variable Type
cvt.changeAs(bool, '') //return false
cvt.changeAs(bool, 'TRUE'); //Return true
cvt.changeAs(String, 'One'); //Return 'One'
cvt.changeAs(int, '1'); //Return 1

Check As Boolean Return
cvt.keBoolean(''); //Return false
TheFunc().keBoolean(''); //Return false
TheFunc().keBoolean('0'); //Return false
TheFunc().keBoolean('false'); //Return false
TheFunc().keBoolean('False'); //Return false
TheFunc().keBoolean('True'); //Return true
TheFunc().keBoolean('true'); //Return true
TheFunc().keBoolean('1'); //Return true
});

Permission Handle And Asking Gui on Device
ThePermission().requestPermission("storage");

Additional information #

This Package is just for simplifying.
welcome for contribute and support.

1
likes
100
points
40
downloads

Publisher

verified publisherdotnesia.com

Weekly Downloads

2024.09.16 - 2025.03.31

Just Function Collection by therif.

Repository (GitHub)

Documentation

Documentation
API reference

Funding

Consider supporting this project:

github.com
paypal.me
saweria.co
sociabuzz.com

License

BSD-3-Clause (license)

Dependencies

flutter, permission_handler

More

Packages that depend on thefunc_flutter