getDouble static method
Future<double?>
getDouble(
- BuildContext context, {
- double? value,
- Future<
ActionResult> onConfirm(- double? result
- String? title,
- String? description,
- TextInputType? textInputType,
Implementation
static Future<double?> getDouble(
BuildContext context, {
double? value,
Future<ActionResult> Function(double? result)? onConfirm,
String? title,
String? description,
TextInputType? textInputType,
}) async {
return await showDialog<double?>(
context: context,
builder: (context) {
return ValuePicker<double?>._(
value: value,
onConfirm: onConfirm,
textInputType: textInputType,
title: title,
description: description,
);
},
);
}