forked from eatvio/eatvio_app
35 lines
847 B
Dart
35 lines
847 B
Dart
import 'package:eatvio_app/features/feed/models/diets_pagination_model.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
class ProfileScreen extends StatelessWidget {
|
|
final Author author;
|
|
|
|
const ProfileScreen({super.key, required this.author});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
appBar: AppBar(),
|
|
body: Column(
|
|
children: [
|
|
CircleAvatar(
|
|
maxRadius: 128,
|
|
minRadius: 128,
|
|
backgroundImage: NetworkImage(author.authorProfileIcon),
|
|
),
|
|
SizedBox(height: 32),
|
|
Text(
|
|
author.authorName,
|
|
style: TextStyle(
|
|
color: Colors.black,
|
|
fontSize: 24,
|
|
fontWeight: FontWeight.w400,
|
|
height: 1,
|
|
),
|
|
),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|