utils library
Classes
- PinderyCircleAvatar
-
A
CircleAvatar
which checks whether the user has a profile picture or not Actually if the user has a picture, it's not aCircleAvatar
, but aMaterialType.circle
, so that the image can be cached with aCachedNetworkImage
. There is also the user's initial as placeholder while downloading and in case of error. - UserInitialWidget
-
A
Widget
that returns aCenter
widget with the initial of the name passed as parameter, to be used with PinderyCircleAvatar.
Functions
-
isAlphaNumeric(
String val) → dynamic -
isEmail(
String val) → dynamic