IntNullableExtensions extension

int Extensions

on

Properties

addZeroPrefix String?

Available on int?, provided by the IntNullableExtensions extension

Validate given int is not null and returns given value if null.
no setter
circularBorderRadius BorderRadius

Available on int?, provided by the IntNullableExtensions extension

Returns Radius
no setter
days Duration

Available on int?, provided by the IntNullableExtensions extension

Returns days duration
no setter
height Widget

Available on int?, provided by the IntNullableExtensions extension

Leaves given height of space
no setter
hours Duration

Available on int?, provided by the IntNullableExtensions extension

Returns hours duration
no setter
isEmptyOrNull bool

Available on int?, provided by the IntNullableExtensions extension

Checks if the given String s is null or empty
no setter
maxSpace Widget

Available on int?, provided by the IntNullableExtensions extension

A widget that takes, at most, an amount of space in a Row, Column,or Flex widget. The maxSpace property converts the integer value to a MaxSpace widget, which is useful for creating flexible layouts where certain elements need to occupy a specific amount of space.
no setter
microseconds Duration

Available on int?, provided by the IntNullableExtensions extension

Returns microseconds duration 5.microseconds
no setter
milliseconds Duration

Available on int?, provided by the IntNullableExtensions extension

Returns milliseconds duration
no setter
minutes Duration

Available on int?, provided by the IntNullableExtensions extension

Returns minutes duration
no setter
month Duration

Available on int?, provided by the IntNullableExtensions extension

Returns month duration
no setter
seconds Duration

Available on int?, provided by the IntNullableExtensions extension

Returns seconds duration
no setter
size Size

Available on int?, provided by the IntNullableExtensions extension

Returns Size
no setter
space Widget

Available on int?, provided by the IntNullableExtensions extension

This extension provides a method to convert a nullable int value to a Widget that takes a fixed amount of space in the direction of its parent.
no setter
spaceExpand Widget

Available on int?, provided by the IntNullableExtensions extension

This extension provides a way to handle nullable integers and use them to create a space widget. It validates the nullable integer, converting it to a non-nullable double, and uses it to create a space widget that expands in the cross axis direction.
no setter
weeks Duration

Available on int?, provided by the IntNullableExtensions extension

Returns month duration
no setter
width Widget

Available on int?, provided by the IntNullableExtensions extension

Leaves given width of space
no setter
years Duration

Available on int?, provided by the IntNullableExtensions extension

Returns years duration
no setter

Methods

lastDigits(int n) int

Available on int?, provided by the IntNullableExtensions extension

get last charts of give value 'I like dart language'.lastChars(13) // dart language
toBool([int value = 1]) bool

Available on int?, provided by the IntNullableExtensions extension

Returns true if the value is 1 otherwise false is returned.
validate({int value = 0}) int

Available on int?, provided by the IntNullableExtensions extension

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