lint fixes
* convert import to relative * convert `() {}` to `=>`
This commit is contained in:
parent
fe90119826
commit
5a858142b5
|
@ -1,11 +1,11 @@
|
|||
import 'package:cached_network_image/cached_network_image.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:lemmur/widgets/sortable_infinite_list.dart';
|
||||
import 'package:lemmy_api_client/lemmy_api_client.dart';
|
||||
|
||||
import '../util/extensions/api.dart';
|
||||
import '../util/goto.dart';
|
||||
import '../widgets/markdown_text.dart';
|
||||
import '../widgets/sortable_infinite_list.dart';
|
||||
|
||||
class CommunitiesListPage extends StatelessWidget {
|
||||
final String title;
|
||||
|
|
|
@ -54,8 +54,7 @@ class InfinitePostList extends StatelessWidget {
|
|||
|
||||
InfinitePostList({this.fetcher});
|
||||
|
||||
Widget build(BuildContext context) {
|
||||
return SortableInfiniteList<PostView>(
|
||||
Widget build(BuildContext context) => SortableInfiniteList<PostView>(
|
||||
onStyleChange: () {},
|
||||
builder: (post) => Column(
|
||||
children: [
|
||||
|
@ -65,7 +64,6 @@ class InfinitePostList extends StatelessWidget {
|
|||
),
|
||||
fetcher: fetcher,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
class InfiniteCommentList extends StatelessWidget {
|
||||
|
|
Loading…
Reference in New Issue