2022年6月10日星期五

change from Stateless Widget to Stateful Widget?

 


STEP 1. Hover on to the "StatelessWidget" and

STEP 2.
Android Studio:
    Mac: option + enter
    Windows: Alt + enter
VSCode:
    Mac: cmd + .
    Windows: ctrl + .

STEP 3. "Convert to StatefulWidget"



沒有留言:

發佈留言