NumExt extension

Num Extensions

on

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 of this words.
no setter
isNullOrEmpty bool

Available on num?, provided by the NumExt extension

Returns true if this nullable iterable is either null or empty.
no setter
sharpRadius SharpRadius

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 if this is between a and b 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 range min to max. Returns true if the number is in the range, false otherwise.
randomList({int min = 0, int max = 100}) List<num>

Available on num?, provided by the NumExt extension

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, 10M international is default true for international value => 1k,2k,1m,2m international false for indian value => 1k,2k,1 L,2 L, 1 Cr
validate({num value = 0}) num

Available on num?, provided by the NumExt extension

Validate given double is not null and returns given value if null.