Trivial
This commit is contained in:
parent
92961f1e6d
commit
4d76cd3fc3
@ -81,10 +81,10 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
// TRY THIS: Try changing the color here to a specific color (to
|
||||
// Colors.amber, perhaps?) and trigger a hot reload to see the AppBar
|
||||
// change color while the other colors stay the same.
|
||||
backgroundColor: Colors.green,
|
||||
backgroundColor: Colors.pinkAccent,
|
||||
// Here we take the value from the MyHomePage object that was created by
|
||||
// the App.build method, and use it to set our appbar title.
|
||||
title: Text("I changed it. Kinda a lime green, eh?"),
|
||||
title: Text(widget.title),
|
||||
),
|
||||
body: Center(
|
||||
// Center is a layout widget. It takes a single child and positions it
|
||||
|
Loading…
Reference in New Issue
Block a user