[current results ui] Fix size and path of Dart icon in title bar
Change-Id: I5a5db7d9d6ee7defdffff5e358c9eb237ceaef35
Reviewed-on: https://dart-review.googlesource.com/c/dart_ci/+/159860
Reviewed-by: Karl Klose <karlklose@google.com>
diff --git a/ui_current_results/lib/main.dart b/ui_current_results/lib/main.dart
index c03a6e8..9e985dc 100644
--- a/ui_current_results/lib/main.dart
+++ b/ui_current_results/lib/main.dart
@@ -53,14 +53,14 @@
border: Border(right: BorderSide(color: Colors.black))),
child: Scaffold(
appBar: AppBar(
- leading: Image.asset('dart_64.png', width: 16.0, height: 32.0),
- title: Text(
- 'Current Results',
- style: TextStyle(
- fontSize: 24.0,
- color: Color.fromARGB(255, 63, 81, 181),
- ),
+ leading: Align(
+ alignment: Alignment.center,
+ child:
+ Image.asset('assets/dart_64.png', width: 40.0, height: 40.0),
),
+ title: Text('Current Results',
+ style: TextStyle(
+ fontSize: 24.0, color: Color.fromARGB(255, 63, 81, 181))),
backgroundColor: Colors.white,
bottom: TabBar(
tabs: [