Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Basic widgets

Sumit Rawal answered on July 2, 2023 Popularity 2/10 Helpfulness 1/10

Contents


More Related Answers

  • What Are Widgets?

  • Basic widgets

    0

    Flutter comes with a suite of powerful basic widgets, of which the following are commonly used:

    Text

    The Text widget lets you create a run of styled text within your application.

    Row, Column

    These flex widgets let you create flexible layouts in both the horizontal (Row) and vertical (Column) directions. The design of these objects is based on the web’s flexbox layout model.

    Stack

    Instead of being linearly oriented (either horizontally or vertically), a Stack widget lets you place widgets on top of each other in paint order. You can then use the Positioned widget on children of a Stack to position them relative to the top, right, bottom, or left edge of the stack. Stacks are based on the web’s absolute positioning layout model.

    Container

    The Container widget lets you create a rectangular visual element. A container can be decorated with a BoxDecoration, such as a background, a border, or a shadow. A Container can also have margins, padding, and constraints applied to its size. In addition, a Container can be transformed in three dimensional space using a matrix.

    Below are some simple widgets that combine these and other widget 

    Popularity 2/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Tags: basic whatever
    Link to this answer
    Share Copy Link
    Contributed on Jul 02 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.