This Flutter application demonstrates the use of a stateless widget to create a simple layout with images and styled text. The app showcases a custom app bar, two images displayed in a row, and a styled text message below the images.
-
Custom App Bar:
- Displays the title "My First Project" at the top of the app.
-
Images:
- One image is loaded from local assets (
assets/images/example.png). - One image is loaded from the internet (
https://via.placeholder.com/150). - Both images are displayed side by side with a gap between them.
- One image is loaded from local assets (
-
Styled Text:
- The text "The two images are displayed" is shown below the images.
- Text is styled with:
- Font family: Suwannaphum-Regular (via Google Fonts).
-
Centered Layout:
- Both images and the text are centered on the page.
- Proper spacing is maintained between images and the text.
- Contains a simple
AppBarwidget with a centered title.
- Displays two images in a
Rowwidget:- One image from local assets.
- One image from the internet.
- Adds borders to the images with rounded corners.
- Displays a customized text widget below the images.