HyM attachments resolve: #2 #3

Merged
Juan merged 15 commits from login into main 2025-04-24 16:52:58 +00:00
Showing only changes of commit b200b1e443 - Show all commits

View File

@ -7,42 +7,50 @@ class AttachmentWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Stack(
// appBar: AppBar(title: Text('New Tab Content')),
children: [
Padding(
padding: EdgeInsets.fromLTRB(10, 20, 0, 0),
child: Row(
children: [
CloseButton(
onPressed: () => {
Navigator.pop(context)
}
return Container(
color: Colors.black38,
child: Stack(
// appBar: AppBar(title: Text('New Tab Content')),
children: <Widget> [
Container(
color: Colors.white,
child: Padding(
padding: EdgeInsets.fromLTRB(10, 20, 0, 10),
child: Row(
children: [
CloseButton(
onPressed: () => {
Navigator.pop(context)
}
),
Text(
attachment.name.toString(), //its alr a string but incase ¯\()/¯
style: TextStyle(
color: Colors.black,
fontSize: 20,
decoration: TextDecoration.none
), //TODO: personalize your fonts
),
],
),
Text(
attachment.name.toString(), //its alr a string but incase ¯\()/¯
style: TextStyle(
color: Colors.black,
fontSize: 20,
decoration: TextDecoration.none
), //TODO: personalize your fonts
),
],
),
),
),
Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
SizedBox(
width: 1000,
height: 600,
child: Image.memory(attachment.data),
)
],
Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
SizedBox(
width: 1000,
height: 600,
child: Image.memory(attachment.data),
)
],
),
),
),
],
],
),
);
}
}