flutter_flow/flutter_flow_util library

Classes

Bidi
This provides utility methods for working with bidirectional text. All of the methods are static, and are organized into a class primarily to group them together for documentation and discoverability.
BidiFormatter
Bidi stands for Bi-directional text. According to Wikipedia: Bi-directional text is text containing text in both text directionalities, both right-to-left (RTL) and left-to-right (LTR). It generally involves text containing different types of alphabets, but may also refer to boustrophedon, which is changing text directionality in each row.
DateFormat
DateFormat is for formatting and parsing dates in a locale-sensitive manner.
FFPlace
Intl
The Intl class provides a common entry point for internationalization related tasks. An Intl instance can be created for a particular locale and used to create a date format via anIntl.date(). Static methods on this class are also used in message formatting.
LatLng
MicroMoney
Used primarily for currency formatting, this number-like class stores millionths of a currency unit, typically as an Int64.
NumberFormat
Provides the ability to format a number in a locale-specific way.
PageTransition<T>
This package allows you amazing transition for your routes Page transition class extends PageRouteBuilder
TextDirection
Represents directionality of text.

Enums

DecimalType
FormatType
PageTransitionType
Transition enum

Properties

getCurrentTimestamp DateTime
no setter
isAndroid bool
no setter
isiOS bool
no setter
isWeb bool
no setter

Functions

dateTimeFormat(String format, DateTime? dateTime) String
formatNumber(num? value, {required FormatType formatType, DecimalType? decimalType, String? currency, bool toLowerCase = false, String? format, String? locale}) String
getJsonField(dynamic response, String jsonPath) → dynamic
launchURL(String url) Future
max<T extends num>(T a, T b) → T
Returns the larger of two numbers.
min<T extends num>(T a, T b) → T
Returns the lesser of two numbers.
responsiveVisibility({required BuildContext context, bool phone = true, bool tablet = true, bool tabletLandscape = true, bool desktop = true}) bool
showSnackbar(BuildContext context, String message, {bool loading = false, int duration = 4}) → void
toBeginningOfSentenceCase(String? input, [String? locale]) String?
Convert a string to beginning of sentence case, in a way appropriate to the locale.
valueOrDefault<T>(T? value, T defaultValue) → T