Building Whatsapp UI using Flutter /
What is Widgets?

Everything in flutter is a widget. Flutter widgets were built using a modern framework that takes inspiration from React. Widgets described as what their view should look like given their current configuration and state. When a widget’s state changes, the widget rebuilds its description, which the framework diffs against the previous description in order to determine the minimal changes needed in the underlying render tree to transition from one state to the next.. Widgets are the building blocks that construct the application. Widgets included text widget, row widget, column widget, container widget and more. In Flutter, there are broadly two types of widgets which are stateless widgets and stateful widgets. There are many common widgets used in most of the applications which were apps widget (example: MaterialApp which is a widget that give developers to access a lot of components or widgets by Google), convenience widgets (Scaffold, NavigationBar and AppBar), layout widgets (Column, Row and ListView), text widgets (Text and RichText), button widgets (IconButton, RaisedButton and FloatingActionButton), graphic widgets (Image and Icon) and more.