DoubleExtensions extension
Double Extensions
- on
Properties
- circularRadius → BorderRadius
-
Available on double?, provided by the DoubleExtensions extension
Returns a BorderRadius with circular radius.no setter - squareSize → Size
-
Available on double?, provided by the DoubleExtensions extension
Returns a square Size with the current value as both width and height.no setter - squareSizeBox → SizedBox
-
Available on double?, provided by the DoubleExtensions extension
Returns a square Size object with the current value as both width and height.no setter
Methods
-
isBetween(
num first, num second) → bool -
Available on double?, provided by the DoubleExtensions extension
Checks if the current value falls between the specified range. -
validate(
{double value = 0.0}) → double -
Available on double?, provided by the DoubleExtensions extension
Validates the double value and returns it if not null.