1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 00:05:16 +00:00

Get latest posts from server

This commit is contained in:
2019-05-10 19:15:11 +02:00
parent 8d188373ce
commit ddbea1727b
9 changed files with 301 additions and 3 deletions

View File

@ -0,0 +1,27 @@
import 'package:comunic/lists/users_list.dart';
import 'package:comunic/models/post.dart';
import 'package:flutter/material.dart';
/// Single posts tile
///
/// @author Pierre HUBERT
class PostTile extends StatelessWidget {
final Post post;
final UsersList usersInfo;
const PostTile({
Key key,
@required this.post,
@required this.usersInfo,
}) : assert(post != null),
assert(usersInfo != null),
super(key: key);
@override
Widget build(BuildContext context) {
return ListTile(
leading: Text("a post"),
);
}
}