import 'package:flutter/material.dart'; class ProfileScreen extends StatelessWidget { @override Widget build(BuildContext context) { final ThemeData themedata = Theme.of(context); return SafeArea( child: Scaffold( appBar: AppBar( elevation: 0, backgroundColor: themedata.colorScheme.onBackground.withOpacity(0), title: Text('Profile'), actions: [ IconButton( icon: Icon(Icons.more_horiz_rounded), onPressed: () {}, ), SizedBox( width: 16, ) ], ), body: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Stack( children: [ Container( margin: EdgeInsets.fromLTRB(32, 16, 32, 0), decoration: BoxDecoration( borderRadius: BorderRadius.circular(16), color: themedata.colorScheme.onSurface, boxShadow: [ BoxShadow( blurRadius: 10, color: themedata.colorScheme.onBackground.withOpacity(0.2)) ]), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Padding( padding: const EdgeInsets.fromLTRB(24, 24, 24, 12), child: Row( children: [ ClipRRect( borderRadius: BorderRadius.circular(24), child: Image.asset( 'assets/img/stories/story_8.jpg', width: 80, height: 80, ), ), SizedBox(width: 20,), Expanded( child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text('turaj'), Text('turaj'), Text('turaj'), ], ), ) ], ), ), Padding( padding: const EdgeInsets.all(20), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text('About me'), Text('About me'), ], ), ) ], ), ), Positioned( bottom: 0, left: 60, right: 60, child: Container( height: 80, decoration: BoxDecoration( color: themedata.colorScheme.primary ), ), ) ], ) ], ), ), ); } }