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.
32 lines
694 B
32 lines
694 B
2 years ago
|
part of '../neon_news.dart';
|
||
3 years ago
|
|
||
|
class NewsFeedPage extends StatelessWidget {
|
||
|
const NewsFeedPage({
|
||
|
required this.bloc,
|
||
|
required this.feed,
|
||
|
super.key,
|
||
|
});
|
||
|
|
||
|
final NewsBloc bloc;
|
||
2 years ago
|
final NextcloudNewsFeed feed;
|
||
3 years ago
|
|
||
|
@override
|
||
|
Widget build(final BuildContext context) => Scaffold(
|
||
|
resizeToAvoidBottomInset: false,
|
||
|
appBar: AppBar(
|
||
2 years ago
|
title: Text(feed.title),
|
||
3 years ago
|
),
|
||
|
body: NewsArticlesView(
|
||
|
bloc: NewsArticlesBloc(
|
||
|
bloc,
|
||
2 years ago
|
bloc.options,
|
||
|
bloc.requestManager,
|
||
|
bloc.client,
|
||
3 years ago
|
id: feed.id,
|
||
|
listType: ListType.feed,
|
||
|
),
|
||
2 years ago
|
newsBloc: bloc,
|
||
3 years ago
|
),
|
||
|
);
|
||
|
}
|