VxNumExtension extension
Extension Methods & Widgets for the numbers
- on
Properties
- acos → double
-
Available on num, provided by the VxNumExtension extension
no setter - asin → double
-
Available on num, provided by the VxNumExtension extension
no setter - cos → double
-
Available on num, provided by the VxNumExtension extension
no setter - exp → double
-
Available on num, provided by the VxNumExtension extension
no setter - heightBox → Widget
-
Available on num, provided by the VxNumExtension extension
Converts the number into a SizedBox with the height as that number.no setter - isEven → bool
-
Available on num, provided by the VxNumExtension extension
Returns if the number is evenno setter - isNegative → bool
-
Available on num, provided by the VxNumExtension extension
Returns if the number is negativeno setter - isNotNull → bool?
-
Available on num, provided by the VxNumExtension extension
Check if the number is not nullno setter - isNull → bool?
-
Available on num, provided by the VxNumExtension extension
Check if the number is nullno setter - isOdd → bool
-
Available on num, provided by the VxNumExtension extension
Returns if the number is oddno setter - isPositive → bool
-
Available on num, provided by the VxNumExtension extension
Returns if the number is positiveno setter - length → int
-
Available on num, provided by the VxNumExtension extension
num longno setter - log → double
-
Available on num, provided by the VxNumExtension extension
no setter - numberOfDigits → int
-
Available on num, provided by the VxNumExtension extension
Returns number of digits in this numberno setter - numCurrency → String
-
Available on num, provided by the VxNumExtension extension
Format numeric currencyno setter - sqrt → double
-
Available on num, provided by the VxNumExtension extension
no setter - squareBox → Widget
-
Available on num, provided by the VxNumExtension extension
Converts the number into a SizedBox with the width & height as that number.no setter - tan → double
-
Available on num, provided by the VxNumExtension extension
no setter - text → VxTextBuilder
-
Available on num, provided by the VxNumExtension extension
Get Text Widget for the Stringno setter - widthBox → Widget
-
Available on num, provided by the VxNumExtension extension
Widgetsno setter
Methods
-
atan2(
num value) → double -
Available on num, provided by the VxNumExtension extension
-
contains(
Pattern other, [int startIndex = 0]) → bool -
Available on num, provided by the VxNumExtension extension
Does it containother
-
fromMicrosecondsSinceEpoch(
{bool isUtc = false}) → DateTime? -
Available on num, provided by the VxNumExtension extension
DateTime from microseconds -
fromMillisecondsSinceEpoch(
{bool isUtc = false}) → DateTime? -
Available on num, provided by the VxNumExtension extension
DateTime from milliseconds -
generate<
T> (T generator(int index), {bool growable = true}) → List< T> -
Available on num, provided by the VxNumExtension extension
Create a List of the specified length -
max<
T extends num> (T value) → T -
Available on num, provided by the VxNumExtension extension
-
min<
T extends num> (T value) → T -
Available on num, provided by the VxNumExtension extension
-
numCurrencyWithLocale(
{String locale = "en_US"}) → String -
Available on num, provided by the VxNumExtension extension
Format numeric currency with provided locale -
padLeft(
int width, [String padding = ' ']) → String -
Available on num, provided by the VxNumExtension extension
-
toDoubleStringAsFixed(
{int digit = 2}) → String -
Available on num, provided by the VxNumExtension extension
Use this extension method to get fixed values after decimal with defined length. -
toDoubleStringAsPrecised(
{int length = 4}) → String -
Available on num, provided by the VxNumExtension extension
Use this extension method to get precised values after decimal with defined length. -
toFileSize(
) → String -
Available on num, provided by the VxNumExtension extension
get file size for a number