import 'package:flutter/material.dart'; void main() => runApp( MaterialApp( home: Scaffold( appBar: AppBar( title: Text('AppBar Title'), centerTitle: true, ), body: Center( child: Row( mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: [ Text('Hello Flutter World!'), RaisedButton( child: Text('I am a Button'), onPressed: () {}, ), IconButton( icon: Icon(Icons.thumb_up), color: Colors.blue, onPressed: () {}, ), ], ), ), ), ), );