Skip to content
masterclass Buddy

Flutter & Dart · Function

runApp

runApp starts a Flutter widget tree in the default Flutter view. Calling it again replaces the previous root and updates the render tree with the differences.

Last updated

Syntax

void runApp(Widget app)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • runWidget
  • View
  • Align
  • Center
  • WidgetsFlutterBinding
  • AppLifecycleListener
  • SizedBox.shrink

Source: runApp function - widgets library - Dart API. Checked 2026-11-03.