NumExt extension
Num Extensions
- on
-
- num?
Properties
- bottomLeftSharpBorderRadius → SharpBorderRadius
-
Available on num?, provided by the NumExt extension
no setter - bottomRightSharpRadius → SharpBorderRadius
-
Available on num?, provided by the NumExt extension
no setter - circularSharpBorderRadius → SharpBorderRadius
-
Available on num?, provided by the NumExt extension
no setter - generateLoremIpsumWords → String
-
Available on num?, provided by the NumExt extension
Get the lorem ipsum text ofthis
words.no setter - isNullOrEmpty → bool
-
Available on num?, provided by the NumExt extension
Returnstrue
if this nullable iterable is eithernull
or empty.no setter -
Available on num?, provided by the NumExt extension
no setter - topLeftSharpBorderRadius → SharpBorderRadius
-
Available on num?, provided by the NumExt extension
no setter - topRightSharpBorderRadius → SharpBorderRadius
-
Available on num?, provided by the NumExt extension
no setter - validateNum → num
-
Available on num?, provided by the NumExt extension
Validate given double is not null and returns given value if null.no setter
Methods
-
between(
int min, int max) → bool -
Available on num?, provided by the NumExt extension
Determines ifthis
is betweena
andb
whereas the bounds are inclusive. -
isInRange(
num min, num max) → bool -
Available on num?, provided by the NumExt extension
Check if the number is in the rangemin
tomax
. Returnstrue
if the number is in the range,false
otherwise. -
randomList(
{int min = 0, int max = 100}) → List< num> - Get list of random numbers.
-
toNumeral(
{bool international = true, int digitAfterDecimal = 0}) → String -
Available on num?, provided by the NumExt extension
Num value convert into numeral String Like 1K, 10K, 1M, 10Minternational
is defaulttrue
for international value => 1k,2k,1m,2minternational
false
for indian value => 1k,2k,1 L,2 L, 1 Cr -
validate(
{num value = 0}) → num - Validate given double is not null and returns given value if null.