IntExtensions extension

on

Properties

days → Duration

Available on int?, provided by the IntExtensions extension

Returns days duration
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
mcs → Duration

Available on int?, provided by the IntExtensions extension

Returns microseconds duration 5.microseconds
no setter
minutes → Duration

Available on int?, provided by the IntExtensions extension

Returns minutes duration
no setter
mls → Duration

Available on int?, provided by the IntExtensions extension

Returns milliseconds 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

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
toBool() → bool

Available on int?, provided by the IntExtensions extension

Extension for integer (int) values to convert them to boolean (bool) values. Converts the integer to a boolean value: 1 for true, 0 for false.
toHumanTime() → String

Available on int?, provided by the IntExtensions extension

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.