isEmpty property

bool get isEmpty

Checks if the PIN input is empty.

Returns true if no text has been entered.

Implementation

bool get isEmpty => text.isEmpty;