41 lines
1.0 KiB
Dart
41 lines
1.0 KiB
Dart
import 'package:didvan/config/theme_data.dart';
|
|
import 'package:didvan/constants/app_icons.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
class ProfilePhoto extends StatelessWidget {
|
|
const ProfilePhoto({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return GestureDetector(
|
|
onTap: () {},
|
|
child: Center(
|
|
child: Stack(
|
|
children: [
|
|
Container(
|
|
height: 96,
|
|
width: 96,
|
|
decoration: BoxDecoration(
|
|
shape: BoxShape.circle,
|
|
color: Theme.of(context).colorScheme.focused,
|
|
),
|
|
child: Icon(
|
|
DidvanIcons.profile_solid,
|
|
size: 60,
|
|
color: Theme.of(context).colorScheme.title,
|
|
),
|
|
),
|
|
const Positioned(
|
|
bottom: 4,
|
|
right: 4,
|
|
child: Icon(
|
|
DidvanIcons.camera_regular,
|
|
),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|