Flutter widgets are built utilizing a modern framework that takes inspiration from React. The central conception is that you build your user interface out of widgets. Widgets describe what their view should look homogeneous to given their current configuration and verbalize.
Hello world
import 'package:flutter/material.dart';
void main() {
runApp(
const Center(
child: Text(
'Hello, world!',
textDirection: TextDirection.ltr,
),
),
);
}
Basics widgets of Flutter
- Text
- Row, Column
- Stack
- Container