NumExtensions extension
- on
Properties
- days → Duration
-
Available on num, provided by the NumExtensions extension
no setter - half → num
-
Available on num, provided by the NumExtensions extension
no setter - heightBox → Widget
-
Available on num, provided by the NumExtensions extension
Convert number to height (SizedBox)no setter - hours → Duration
-
Available on num, provided by the NumExtensions extension
no setter - microseconds → Duration
-
Available on num, provided by the NumExtensions extension
no setter - milliseconds → Duration
-
Available on num, provided by the NumExtensions extension
no setter - minutes → Duration
-
Available on num, provided by the NumExtensions extension
no setter - seconds → Duration
-
Available on num, provided by the NumExtensions extension
no setter - widthBox → Widget
-
Available on num, provided by the NumExtensions extension
Convert number to width (SizedBox)no setter
Methods
-
format(
{String pattern = "#.##"}) → String -
Available on num, provided by the NumExtensions extension
-
money(
{String pattern = "#.##"}) → String -
Available on num, provided by the NumExtensions extension
-
pluralize(
String singular, {String? plural}) → String -
Available on num, provided by the NumExtensions extension
Returns a string combining this number with the correct singular or plural form of a word.