53 lines
1.5 KiB
Dart
53 lines
1.5 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
class ProfilePage extends StatelessWidget {
|
|
const ProfilePage({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
backgroundColor: const Color(0xFF212121),
|
|
appBar: AppBar(
|
|
backgroundColor: const Color(0xFF212121),
|
|
elevation: 0,
|
|
iconTheme: const IconThemeData(color: Colors.white),
|
|
title: const Text(
|
|
'Profil',
|
|
style: TextStyle(color: Colors.white),
|
|
),
|
|
),
|
|
body: SafeArea(
|
|
child: Center(
|
|
child: Column(
|
|
mainAxisSize: MainAxisSize.min,
|
|
children: [
|
|
CircleAvatar(
|
|
radius: 50,
|
|
backgroundColor: Colors.grey[700],
|
|
child: Icon(Icons.person, size: 50, color: Colors.grey[300]),
|
|
),
|
|
const SizedBox(height: 20),
|
|
const Text(
|
|
'Användarnamn',
|
|
style: TextStyle(fontSize: 24, color: Colors.white),
|
|
),
|
|
const SizedBox(height: 20),
|
|
Container(
|
|
padding: const EdgeInsets.all(10),
|
|
height: 150,
|
|
width: MediaQuery.of(context).size.width * 0.8,
|
|
color: Colors.grey[800],
|
|
child: const Center(
|
|
child: Text(
|
|
'Laginformation kommer här',
|
|
style: TextStyle(color: Colors.white70),
|
|
),
|
|
),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
} |