File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed
Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 1+ import 'dart:ui' ;
2+
3+ import 'package:flutter/material.dart' ;
4+
15class Insets {
26 static const double small = 4.0 ;
37 static const double medium = 8.0 ;
48 static const double large = 12.0 ;
59 static const double xtraLarge = 16.0 ;
610}
11+
12+ // TODO: Replace by a proper Theme
13+ class FlashcardAppColors {
14+ static const Color green = Colors .green;
15+ }
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ class MyApp extends StatelessWidget {
1212 @override
1313 Widget build (BuildContext context) {
1414 return MaterialApp (
15+ debugShowCheckedModeBanner: false ,
1516 title: 'Flutter Demo' ,
1617 theme: ThemeData (
1718 primarySwatch: Colors .blue,
Original file line number Diff line number Diff line change @@ -37,7 +37,14 @@ class _LessonSelectorScreenState extends State<LessonSelectorScreen> {
3737 slivers: [
3838 for (var lectureFolder in possibleLectureFolders) ...[
3939 SliverAppBar (
40- title: Text (lectureFolder.name),
40+ title: Text (
41+ lectureFolder.name,
42+ textAlign: TextAlign .left,
43+ style: const TextStyle (color: Colors .black),
44+ ),
45+ centerTitle: false ,
46+ backgroundColor: Colors .white,
47+ forceElevated: true ,
4148 ),
4249 SliverList (
4350 delegate: SliverChildBuilderDelegate ((context, index) {
You can’t perform that action at this time.
0 commit comments