Essential Flutter Widgets

  • Widgets
  • January 19, 2024

Flutter provides a rich set of pre-built widgets that you can use to build user interfaces. Here are some of the commonly used Flutter widgets:

2 Scaffold Widget

Here textAlign property refers to how the text will align in the assigned space. It can be centered, left or right. 

The overflow refers to how the text will behave if the current text doesn't fit in the assigned space. You can show a ... with the ellipsis property.

The style takes a TextStyle() prperty where you can set the color, size, weight and several other styling components to style the text widget.