InterviewSolution
Saved Bookmarks
| 1. |
Explain Container class in a flutter. |
|
Answer» Basically, in Flutter, a container is a widget that has the capacity to accommodate multiple CHILD widgets and manage them EFFICIENTLY through dimensions, padding, and background color. Whenever we want to style the background of a widget, either because of a color, shape, or size CONSTRAINT, we may use a container widget. With the Container class, widgets can be stored and positioned on the screen at our discretion. In general, it resembles a box for storing contents. |
|