A framework for building convergent cross-platform Nextcloud clients using Flutter.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
part of '../neon_news.dart';
|
|
|
|
|
|
|
|
class NewsFolderPage extends StatelessWidget {
|
|
|
|
const NewsFolderPage({
|
|
|
|
required this.bloc,
|
|
|
|
required this.folder,
|
|
|
|
super.key,
|
|
|
|
});
|
|
|
|
|
|
|
|
final NewsBloc bloc;
|
|
|
|
final NewsFolder folder;
|
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(final BuildContext context) => Scaffold(
|
|
|
|
resizeToAvoidBottomInset: false,
|
|
|
|
appBar: AppBar(
|
|
|
|
title: Text(folder.name),
|
|
|
|
),
|
|
|
|
body: NewsFolderView(
|
|
|
|
bloc: bloc,
|
|
|
|
folder: folder,
|
|
|
|
),
|
|
|
|
floatingActionButton: NewsFeedFloatingActionButton(
|
|
|
|
bloc: bloc,
|
|
|
|
folderID: folder.id,
|
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|