In the stateless widget, the build function is called only once which makes the UI of the screen. Stateful Widgets: The widgets whose state can be altered once they are built are called stateful Widgets. … It is used when the UI can change dynamically. Some examples can be CheckBox, RadioButton, Form, TextField.