Fix style

This commit is contained in:
Daniel 2024-08-08 21:55:40 -04:00
parent 00dbe60e76
commit 975c315347
2 changed files with 1 additions and 11 deletions

View file

@ -49,7 +49,7 @@ class ScannerLabel extends StatefulWidget {
} }
class _ScannerLabelState extends State<ScannerLabel> { class _ScannerLabelState extends State<ScannerLabel> {
String _label = "Scanner"; String _label = "Stillbox";
void setLabel(String s) { void setLabel(String s) {
_label = s; _label = s;
@ -66,7 +66,6 @@ class _ScannerLabelState extends State<ScannerLabel> {
fontSize: 22.0, fontSize: 22.0,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
fontFamily: "Warnes", fontFamily: "Warnes",
letterSpacing: 4.0,
)), )),
); );
} }

View file

@ -54,15 +54,6 @@ class _MainRadioState extends State<MainRadio> {
// fast, so that you can just rebuild anything that needs updating rather // fast, so that you can just rebuild anything that needs updating rather
// than having to individually change instances of widgets. // than having to individually change instances of widgets.
return Scaffold( return Scaffold(
appBar: AppBar(
// 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: Theme.of(context).colorScheme.inversePrimary,
// 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(widget.title),
),
body: const Center( body: const Center(
// Center is a layout widget. It takes a single child and positions it // Center is a layout widget. It takes a single child and positions it
// in the middle of the parent. // in the middle of the parent.