mirror of
https://github.com/jagandeepbrar/lunasea.git
synced 2026-08-30 20:24:25 +00:00
NEW - [Radarr] Completely rewritten from the ground-up - [Radarr] View system status, disk usage, and manage tags - [Radarr] Catalogue, upcoming, missing, tags, and quality profiles are now held in-state between module switches - [Radarr/Add] Long-pressing a search result tile will open the movie's TMDB entry - [Radarr/History] Now an infinite scrolling list - [Radarr/Movie] Cast information, movie-specific history, more detailed file information, more detailed overview page - [Radarr/Filtering] Improved sorting and filtering speed, performance, and consistency - [Radarr/Filtering] Ability to set sorting and filtering defaults in settings - [Radarr/Filtering] Many additional filtering options - [Haptics] Added haptic feedback to all buttons, toggles, and dropdowns - [Quick Actions] Default "Settings" quick action added to end of the list (if there is room) - [UI/UX] (Radarr Only For Now) Ability to tap the AppBar to scroll to top - [UI/UX] (Radarr Only For Now) If the list is in a tabbed PageView, tapping the active tab will scroll the list to the top - [UI/UX] (Radarr Only For Now) If the keyboard is open, scrolling the list, swiping between pages, or opening the drawer will dismiss the keyboard - [Webhooks] Notification webhooks will now show as an in-app heads up if LunaSea is open at the time of receiving the notification TWEAKS - [Radarr] Now only supports v3.0.0 and higher of Radarr - [Radarr] Many visual changes, too many to list - [Radarr] The tab "History" has been replaced with "More" - [Radarr/Edit] Monitor toggle has been moved to the edit prompt - [Sonarr/Filtering] Updated button to use standard filtering icon - [Tautulli/Activity] Show session type and bandwidth type breakdown on activity page - [Tautulli/Activity] Cleanup player information to more closely resemble web GUI - [Tautulli/Activity] Show subtitle stream decision - [UI/UX] Reduced the weight of bold text across the application - [UI/UX] Added padding to bottom of lists for devices that require a safe area - [UI/UX] Active tab in navigation bar now has a border with the AMOLED theme FIXES - [Changelog] Properly align/pad "Full Changelog" button at the end of the changelog - [Flutter] Update packages - [Flutter] Now using the beta channel - [Quick Actions] Improve internal implementation of quick actions to be more stable and reliable - [Settings/Modules] Newly set headers would sometimes not be passed to the connection test - [Sonarr/Edit] Series path prompt would show an incorrect title - [Sonarr/Description] Show "No summary is available" when there is no summary instead of an empty string - [Sonarr/Releases] Default sorting direction was using catalogue default value - [Tautulli/Graphs] Description of some graphs were not correct (Thanks @ZuluWhiskey!) - [Tautulli/IPs] Fix location showing as null for local addresses - [UI/UX] Border radius for the splash highlight wouldn't clip correctly on slim buttons - [UI/UX] Margin/size of sort/filter buttons were off by a few pixels - [UI/UX] InkWell splash now clips correctly to the rounded borders of popup menu buttons
56 lines
1.9 KiB
Dart
56 lines
1.9 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:lunasea/core.dart';
|
|
|
|
class LunaHeader extends StatelessWidget {
|
|
final String text;
|
|
final String subtitle;
|
|
|
|
LunaHeader({
|
|
@required this.text,
|
|
this.subtitle,
|
|
});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Padding(
|
|
child: Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: [
|
|
Text(
|
|
text.toUpperCase(),
|
|
style: TextStyle(
|
|
fontWeight: LunaUI.FONT_WEIGHT_BOLD,
|
|
fontSize: LunaUI.FONT_SIZE_HEADER,
|
|
color: Colors.white,
|
|
),
|
|
),
|
|
Padding(
|
|
child: Container(
|
|
height: 2.0,
|
|
width: 48.0,
|
|
decoration: BoxDecoration(
|
|
borderRadius: BorderRadius.circular(LunaUI.BORDER_RADIUS),
|
|
color: LunaColours.accent,
|
|
),
|
|
),
|
|
padding: EdgeInsets.only(
|
|
top: 4.0,
|
|
left: 1.0,
|
|
bottom: subtitle != null ? 6.0 : 0.0,
|
|
),
|
|
),
|
|
if(subtitle != null) Text(
|
|
subtitle,
|
|
style: TextStyle(
|
|
fontSize: LunaUI.FONT_SIZE_SUBHEADER,
|
|
color: Colors.white70,
|
|
fontWeight: FontWeight.w300,
|
|
),
|
|
),
|
|
],
|
|
),
|
|
padding: EdgeInsets.fromLTRB(12.0, 6.0, 12.0, 8.0),
|
|
);
|
|
}
|
|
}
|