LayoutOptions

Center

VerticalOptions

LayoutOptions

Center

};

In Flutter, “everything is a widget”, even the application itself.
The following example shows MyApp, a simple application Widget.

How do you create a page?

Xamarin.Forms has many types of pages;
ContentPage is the most common.
In Flutter, you specify an application widget that holds your root page.
You can use a MaterialApp widget, which supports Material Design,
or you can use a CupertinoApp widget, which supports an iOS-style app,
or you can use the lower level WidgetsApp,
which you can customize in any way you want.

The following code defines the home page, a stateful widget.
In Flutter, all widgets are immutable,
but two types of widgets are supported: Stateful and Stateless.
Examples of a stateless widget are titles, icons, or images.