firelamp library
Classes
- Api
- Loading indicators. Api GetX Controller
- ApiCategory
- ApiComment
- ApiFile
- ApiForum
- Forum model
- ApiFriend
- ApiItemOption
- ApiPointHistory
- ApiPost
- ApiPost is a model for a post.
- ApiSearchKeyStat
- ApiShortUser
- ApiUser
- AppPhotoViewer
- ButtonKeys
- CachedImage
- Cart
- CartForm
- CircleIcon
- CommentContent
- CommentForm
- CommentList
- CommentMeta
- CommentView
- DisplayContent
- DisplayFiles
- DisplayUploadedFilesAndDeleteButtons
- ElementKeys
- FirelampKeys
- ForumBasicPostTitle
- ForumEvent
- LoginFirst
- NotificationOptions
- PopUpButton
- PostContent
- PostForm
- PostGalleryPreview
- PostMeta
- PostThumbnailPreview
- PostTitle
- PostView
- PostViewWithAvatar
- RoundedBox
- Space
- Spinner
- UserAvatar
Enums
Extensions
Constants
- DEFAULT_OPTION → const String
- The ApiItemOption is for shopping mall function.
- ERROR_ALREADY_ADDED_AS_FRIEND → const String
- ERROR_EMPTY_RESPONSE → const String
- Error codes
- ERROR_EMPTY_SESSION_ID → const String
- ERROR_EMPTY_TOKENS → const String
- ERROR_IMAGE_NOT_SELECTED → const String
- ERROR_NO_RELATIONSHIP → const String
- ERROR_USER_NOT_FOUND_BY_THAT_EMAIL → const String
- FIREBASE_UID → const String
- Defines
- NEW_COMMENT_ON_MY_POST_OR_COMMENT → const String
- styleHintText → const TextStyle
- stylePostTitle → const TextStyle
Functions
-
age(
String? birthdate) → dynamic -
The
birthdate
may be in 'YYMMDD' format. ie) 001122 Or may be in 'YYYYMMDD' format. ie) 19770707 -
alert(
String message) → Future - Alert message
-
calAge(
String birthdate) → String -
confirm(
String title, String message) → Future< bool> - 예/아니오를 선택하게 하는 다이얼로그를 표시한다.
-
discount(
int price, int rate) → int -
getFilenameFromPath(
String path) → String - Returns filename with extension.
-
getRandomString(
{int len = 16, String? prefix}) → String - Returns a random string
-
imageUpload(
{int quality = 90, Function? onProgress, String taxonomy = '', int entity = 0, String code = '', bool deletePreviousUpload = false}) → Future< ApiFile> -
The imageUpload is only a sample function to illustrate how you can upload a photo.
You may copy this and change whatever to meet your design goal.
onProgress
will be called many times with percentage value. -
isImageUrl(
dynamic t) → bool -
isNumeric(
String? s) → bool -
moneyFormat(
dynamic no) → String
Typedefs
- OnSelectedFunction = dynamic Function(dynamic selected)