DoubleExtensions extension

Double Extensions

on

Properties

circularRadius BorderRadius
Returns a BorderRadius with circular radius.
no setter
squareSize Size
Returns a square Size with the current value as both width and height.
no setter
squareSizeBox SizedBox
Returns a square Size object with the current value as both width and height.
no setter

Methods

isBetween(num first, num second) bool
Checks if the current value falls between the specified range.
validate({double value = 0.0}) double
Validates the double value and returns it if not null.