IntExtensions extension

on

Properties

days → Duration

Available on int?, provided by the IntExtensions extension

Returns days duration
no setter
dynamicHeight → double

Available on int?, provided by the IntExtensions extension

no setter
dynamicWidth → double

Available on int?, provided by the IntExtensions extension

no setter
height → Widget

Available on int?, provided by the IntExtensions extension

Leaves given height of space
no setter
hours → Duration

Available on int?, provided by the IntExtensions extension

Returns hours duration
no setter
microseconds → Duration

Available on int?, provided by the IntExtensions extension

Returns microseconds duration 5.microseconds
no setter
milliseconds → Duration

Available on int?, provided by the IntExtensions extension

Returns milliseconds duration
no setter
minutes → Duration

Available on int?, provided by the IntExtensions extension

Returns minutes duration
no setter
seconds → Duration

Available on int?, provided by the IntExtensions extension

Returns seconds duration
no setter
size → Size

Available on int?, provided by the IntExtensions extension

Returns Size
no setter
width → Widget

Available on int?, provided by the IntExtensions extension

Leaves given width of space
no setter

Methods

borderRadius([double? val]) → BorderRadius

Available on int?, provided by the IntExtensions extension

getBoolInt() → bool

Available on int?, provided by the IntExtensions extension

Returns true if given value is 1, else returns false
isBetween(num first, num second) → bool

Available on int?, provided by the IntExtensions extension

Returns if a number is between first and second
isSuccessful() → bool

Available on int?, provided by the IntExtensions extension

HTTP status code
toMonthDaySuffix() → String

Available on int?, provided by the IntExtensions extension

toMonthName({bool isHalfName = false}) → String

Available on int?, provided by the IntExtensions extension

toWeekDay({bool isHalfName = false}) → String

Available on int?, provided by the IntExtensions extension

validate({int value = 0}) → int

Available on int?, provided by the IntExtensions extension

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