RunApp()

Import 'package:flutter/material.dart';

void main() {
  runApp(
    Center(
      child: Text(
        'Hello, world!',
        textDirection: TextDirection.ltr,
      ),
    ),
  );
}

Function that takes the given Widget and makes it the root of the widget tree.

Related concepts

RunApp() — Structure map

Clickable & Draggable!

RunApp() — Related pages: