how to convert to statefulwidget from a mac code example
Example: convert stateless to stateful component flutter
To convert a stateless widget to a stateful widget, simply clik
on it, press alt + enter and select the convert option
To convert a stateless widget to a stateful widget, simply clik
on it, press alt + enter and select the convert option