func_woopear

This is projet to group together all the functions that we may need in various projects.

Functions are grouped into classes
The functions in the class are static
functions so you don't need to create an instance,
install the package and use the functions directly
by calling the class then the functions with the pointer.

All class names end with wp to make them easier to find.


Function String

///is class contain function for manipulate a string
class StrFuncWp

//for use the functions directly
//functions so you don't need to create an instance
StrFuncWp.upperFirstLetter("i'm a string");
  • List string functions

    • Take the first letter of your thong and capitalize it
    // s argument is a string
    String upperFirstLetter(String s)
    
    • Browse the array, and for each string the first letter is capitalized,
      be careful that the array must only contain strings
    // l argument is a list of string
    List<String> firstLetterUpperArray(List<String> l)
    
    • Browse the array, and for each string the first letter is capitalized,
      be careful that the array must only contain strings
    // lo argument is a list of Map
    // k argument is a string and target your key in your Map
    List<Map<String, dynamic>> firstLetterUpperKeyObject(List<Map<String, dynamic>> lm, String k)
    

In progress other functions

Libraries

func_woopear