static bool isDouble(String value) { try { double.parse(value); return !isInt(value); } catch (e) { return false; } }