Added details for chats with participants list
This commit is contained in:
22
lib/widget/largeProfilePictureView.dart
Normal file
22
lib/widget/largeProfilePictureView.dart
Normal file
@ -0,0 +1,22 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:photo_view/photo_view.dart';
|
||||
|
||||
import '../model/endpointData.dart';
|
||||
|
||||
class LargeProfilePictureView extends StatelessWidget {
|
||||
final String username;
|
||||
const LargeProfilePictureView(this.username, {super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: const Text("Profilbild"),
|
||||
),
|
||||
body: PhotoView(
|
||||
imageProvider: Image.network("https://${EndpointData().nextcloud().full()}/avatar/$username/1024").image,
|
||||
backgroundDecoration: BoxDecoration(color: Theme.of(context).colorScheme.surface),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user