Skip to content

Commit f0d3991

Browse files
committed
2 parents d064333 + cf2f94f commit f0d3991

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed

lib/features/evento_detail/screens/evento_detail_screen.dart

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import 'package:role/features/evento_detail/widgets/evento_detail_header.dart';
88
import 'package:role/features/evento_detail/widgets/evento_detail_map.dart';
99
import 'package:role/features/new_insumo/screens/new_insumo_screen.dart';
1010
import 'package:role/shared/widgets/elastic_button.dart';
11+
import 'package:role/features/evento_detail/widgets/evento_detail_inputs.dart';
1112

1213
class EventoDetailScreen extends StatelessWidget {
1314
EventoDetailScreen({required this.id})
@@ -98,6 +99,7 @@ class EventoDetailScreen extends StatelessWidget {
9899
),
99100
),
100101
),
102+
// EventDetailInputs(),
101103
],
102104
),
103105
],
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
import 'package:flutter/material.dart';
2+
3+
class EventDetailInputs extends StatelessWidget {
4+
5+
6+
7+
8+
@override
9+
Widget build(BuildContext context) {
10+
return Container(
11+
decoration: BoxDecoration(
12+
color: const Color.fromARGB(255, 216, 212, 212),
13+
borderRadius: BorderRadius.circular(12.0),
14+
),
15+
child: Padding(
16+
padding: const EdgeInsets.all(16.0),
17+
child: Column(
18+
crossAxisAlignment: CrossAxisAlignment.start,
19+
children: [
20+
Expanded(
21+
child: ListView.builder(
22+
itemBuilder: (BuildContext context, int index) {
23+
return Padding(
24+
padding: const EdgeInsets.only(bottom: 8.0),
25+
child: Row(
26+
children: [
27+
Padding(
28+
padding: const EdgeInsets.only(right: 8.0),
29+
child: CircleAvatar(
30+
radius: 30,
31+
backgroundImage: AssetImage("assets/Star.png"),
32+
backgroundColor: const Color.fromARGB(
33+
255, 100, 101, 102),
34+
),
35+
),
36+
Expanded(
37+
child: Text(
38+
"guestList[index],",
39+
style: TextStyle(
40+
fontSize: 14,
41+
fontWeight: FontWeight.bold,
42+
),
43+
),
44+
),
45+
],
46+
),
47+
);
48+
},
49+
),
50+
),
51+
],
52+
),
53+
),
54+
);
55+
}
56+
}

0 commit comments

Comments
 (0)