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.

31 lines
653 B

part of '../neon_news.dart';
2 years ago
class NewsFeedPage extends StatelessWidget {
const NewsFeedPage({
required this.bloc,
required this.feed,
super.key,
});
final NewsBloc bloc;
final NewsFeed feed;
2 years ago
@override
Widget build(final BuildContext context) => Scaffold(
resizeToAvoidBottomInset: false,
appBar: AppBar(
title: Text(feed.title),
2 years ago
),
body: NewsArticlesView(
bloc: NewsArticlesBloc(
bloc,
bloc.options,
bloc.account,
2 years ago
id: feed.id,
listType: ListType.feed,
),
newsBloc: bloc,
2 years ago
),
);
}