Below is the basic structure of a stateless widget. Stateless widget overrides the build() method and returns a widget . For example, we use Text or the Icon is our flutter application where the state of the widget does not change in the runtime.19 Mar 2021