Files
lunasea/lib/core/ui/text/header.dart
Jagandeep Brar 8ac4228e56 [Release] v2.1.0 (66) (#200)
* [Icon] Removed alpha channel from icon
* [Sonarr] Fixed toast for season monitoring toggle
* [Settings] Completely redesign, prepping for user configurable options
* [Browsers] Ability to set which browser
* [Settings/Modules] Long pressing 'Open Links In...' would open LunaSea website
* [Navigation Bar] Fixed title regression
* [Sliver AppBar] Defaults to collapsed, pull down to view
* [Sliver AppBar] Left align title
* [Settings/Calendar] Ability to configure starting day and starting size
* [Settings] Added headers
* [Settings] Cleaned folder structure of widgets
* [Calendar] Added option to disable specific modules
* [Theme] added AMOLED black theme
* [Android] Build Configuration for Android (#198)
* [Android] Implemented WIP android build configuration
* [Android] Added splash, icons, dynamic platform-specific text
* [Android] Added signing configuration, updated minimum version to Android 7.0
* [README] Updated README to reflect Android building
* [README] Added stub Google Play shield
* [README] Reordered shields
2020-04-20 10:12:16 -05:00

40 lines
1.2 KiB
Dart

import 'package:flutter/material.dart';
import 'package:lunasea/core/ui/colors.dart';
class LSHeader extends StatelessWidget {
final String text;
LSHeader({
@required this.text,
});
@override
Widget build(BuildContext context) => Padding(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
text.toUpperCase(),
style: TextStyle(
fontWeight: FontWeight.bold,
fontSize: 20.0,
color: Colors.white,
),
),
Padding(
child: Container(
height: 2.0,
width: 48.0,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(4.0),
color: LSColors.accent,
),
),
padding: EdgeInsets.only(top: 4.0, left: 1.0),
),
],
),
padding: EdgeInsets.fromLTRB(12.0, 6.0, 12.0, 8.0),
);
}