~repos /only-bible-app
git clone https://pyrossh.dev/repos/only-bible-app.git
The only bible app you will ever need. No ads. No in-app purchases. No distractions.
b4cc016b
—
pyrossh 2 years ago
reduce heading size
- lib/theme.dart +1 -1
- lib/widgets/sliver_heading.dart +2 -1
lib/theme.dart
CHANGED
|
@@ -104,7 +104,7 @@ final lightTheme = ThemeData(
|
|
|
104
104
|
),
|
|
105
105
|
headlineMedium: TextStyle(
|
|
106
106
|
color: Color(0xFF010101),
|
|
107
|
-
fontSize:
|
|
107
|
+
fontSize: 18,
|
|
108
108
|
fontWeight: FontWeight.w500,
|
|
109
109
|
letterSpacing: 0.5,
|
|
110
110
|
),
|
lib/widgets/sliver_heading.dart
CHANGED
|
@@ -21,13 +21,14 @@ class SliverHeading extends StatelessWidget {
|
|
|
21
21
|
margin: EdgeInsets.only(top: top, bottom: bottom, left: 20, right: 10),
|
|
22
22
|
child: Row(
|
|
23
23
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
24
|
+
crossAxisAlignment: CrossAxisAlignment.center,
|
|
24
25
|
children: [
|
|
25
26
|
Expanded(
|
|
26
27
|
child: Text(title, style: Theme.of(context).textTheme.headlineMedium),
|
|
27
28
|
),
|
|
28
29
|
if (showClose)
|
|
29
30
|
IconButton(
|
|
30
|
-
icon: const Icon(Icons.close, size:
|
|
31
|
+
icon: const Icon(Icons.close, size: 26),
|
|
31
32
|
onPressed: () {
|
|
32
33
|
Navigator.of(context).pop();
|
|
33
34
|
},
|