main.dart
import 'package:flutter/material.dart';
void main(){
runApp(
MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text("Flutter Center Title"),
centerTitle: true
),
),
)
);
}
More flutter tutorials
- flutter – AlertDialog example
- flutter – AlertDialog background color
- flutter – AlertDialog width
- flutter – AlertDialog height
- flutter – AlertDialog scrollable
- flutter – AlertDialog shape
- flutter – AlertDialog actions center
- flutter – Animated align
- flutter – Align example
- flutter – ActionChip example
- flutter – ActionChip size
- flutter – How to change status bar color
- flutter – How to hide status bar
- flutter – Transparent status bar
- flutter – How to show hide status bar