mirror of
https://github.com/jagandeepbrar/lunasea.git
synced 2026-08-30 20:24:25 +00:00
NEW - [Radarr/Files] Add video and audio codec to the media file card - [Search] Now supports infinite scrolling for loading additional pages of results - [Search] Much faster parsing of XML responses - [Search] Fully adapted for localization TWEAKS - [Search] Now returns 50 results per infinite scrolling page - [Search] Removed support for sorting the catalogue and instead show the results in the order the indexer returns the data - [Search] Removed support for filtering releases by a search query - [Search] Minor tweaks to the icons on the indexer, category, and subcategory tiles FIXES - [Search] Search would only return 10 results - [Search] Age of the release could show as "Unknown Age" in some cases
29 lines
747 B
Dart
29 lines
747 B
Dart
import 'package:expandable/expandable.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
class LSExpandable extends StatefulWidget {
|
|
final ExpandableController controller;
|
|
final Widget collapsed;
|
|
final Widget expanded;
|
|
|
|
LSExpandable({
|
|
@required this.controller,
|
|
@required this.collapsed,
|
|
@required this.expanded,
|
|
Key key,
|
|
}): super(key: key);
|
|
|
|
@override
|
|
State<StatefulWidget> createState() => _State();
|
|
}
|
|
|
|
class _State extends State<LSExpandable> {
|
|
@override
|
|
Widget build(BuildContext context) => ExpandableNotifier(
|
|
controller: widget.controller,
|
|
child: Expandable(
|
|
collapsed: widget.collapsed,
|
|
expanded: widget.expanded,
|
|
),
|
|
);
|
|
} |