decimal property

RegExp decimal
final

Decimal number

Implementation

static final RegExp decimal = RegExp(r'^-?\d*\.?\d+$');