Files
lunasea/lib/core/ui/deprecated/expandable.dart
Jagandeep Brar 225f5f95f6 [Release] v5.0.0 (50000012) (#362)
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
2021-03-08 21:04:43 -06:00

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,
),
);
}