I noticed that the build function was called twice in a stateless widget.
import \'package:flutter/material.dart\'; void main() { runApp(new MyApp()); } c