dart format
This commit is contained in:
@@ -9,12 +9,14 @@ class LargeProfilePictureView extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) => Scaffold(
|
||||
appBar: AppBar(
|
||||
title: const Text('Profilbild'),
|
||||
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,
|
||||
),
|
||||
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