IntNullableExtensions extension
int Extensions
- on
-
- int?
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 Radiusno setter - days → Duration
-
Available on int?, provided by the IntNullableExtensions extension
Returns days durationno setter - height → Widget
-
Available on int?, provided by the IntNullableExtensions extension
Leaves given height of spaceno setter - hours → Duration
-
Available on int?, provided by the IntNullableExtensions extension
Returns hours durationno setter - isEmptyOrNull → bool
-
Available on int?, provided by the IntNullableExtensions extension
Checks if the given Strings
is null or emptyno 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. ThemaxSpace
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.microsecondsno setter - milliseconds → Duration
-
Available on int?, provided by the IntNullableExtensions extension
Returns milliseconds durationno setter - minutes → Duration
-
Available on int?, provided by the IntNullableExtensions extension
Returns minutes durationno setter - month → Duration
-
Available on int?, provided by the IntNullableExtensions extension
Returns month durationno setter - seconds → Duration
-
Available on int?, provided by the IntNullableExtensions extension
Returns seconds durationno setter - size → Size
-
Available on int?, provided by the IntNullableExtensions extension
Returns Sizeno 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 durationno setter - width → Widget
-
Available on int?, provided by the IntNullableExtensions extension
Leaves given width of spaceno setter - years → Duration
-
Available on int?, provided by the IntNullableExtensions extension
Returns years durationno 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 is1
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.