iconStatus method

Future<void> iconStatus(
  1. String text
)

Implementation

Future<void> iconStatus(String text) async {
    setState(() {
        if (text == '') {
            iconEnabled = false;
        } else {
            iconEnabled = true;
        }
    });
}