mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 12:59:21 +00:00
Can show user account image in full screen
This commit is contained in:
parent
6b8e1f205b
commit
c65d87dacc
@ -131,7 +131,11 @@ class _UserPageScreenState extends State<UserPageScreen> {
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: Row(
|
||||
children: <Widget>[
|
||||
AccountImageWidget(user: _userInfo),
|
||||
InkWell(
|
||||
onTap: () =>
|
||||
showImageFullScreen(context, _userInfo.accountImageURL),
|
||||
child: AccountImageWidget(user: _userInfo),
|
||||
),
|
||||
Text(" ${_userInfo.displayName}"),
|
||||
Spacer(),
|
||||
IconButton(
|
||||
|
@ -12,8 +12,11 @@ class AccountImageWidget extends StatelessWidget {
|
||||
final User user;
|
||||
final double width;
|
||||
|
||||
const AccountImageWidget({Key key, this.user, this.width = 35.0})
|
||||
: assert(user != null),
|
||||
const AccountImageWidget({
|
||||
Key key,
|
||||
this.user,
|
||||
this.width = 35.0,
|
||||
}) : assert(user != null),
|
||||
super(key: key);
|
||||
|
||||
@override
|
||||
|
Loading…
Reference in New Issue
Block a user