Commit a6ea0422 authored by Dio Maulana's avatar Dio Maulana

container click muncul modal bottom sheet

parent 53de4163
...@@ -139,17 +139,7 @@ class BodyWidget extends StatelessWidget { ...@@ -139,17 +139,7 @@ class BodyWidget extends StatelessWidget {
fontSize: 16, fontSize: 16,
), ),
), ),
Container( GestureDetector(
margin: const EdgeInsets.only(
top: 10,
),
width: double.infinity,
decoration: BoxDecoration(
border: Border.all(width: 0.2, color: Colors.grey),
borderRadius: BorderRadius.circular(5),
color: ColorManager.backgroundColor,
),
child: GestureDetector(
onTap: () { onTap: () {
showModalBottomSheet( showModalBottomSheet(
backgroundColor: ColorManager.backgroundColor, backgroundColor: ColorManager.backgroundColor,
...@@ -159,6 +149,17 @@ class BodyWidget extends StatelessWidget { ...@@ -159,6 +149,17 @@ class BodyWidget extends StatelessWidget {
return const WidgetSelectOutlet(); return const WidgetSelectOutlet();
}); });
}, },
child: Container(
margin: const EdgeInsets.only(
top: 10,
),
width: double.infinity,
decoration: BoxDecoration(
border:
Border.all(width: 0.2, color: Colors.grey),
borderRadius: BorderRadius.circular(5),
color: ColorManager.backgroundColor,
),
child: Container( child: Container(
padding: const EdgeInsets.symmetric( padding: const EdgeInsets.symmetric(
horizontal: 10, horizontal: 10,
...@@ -175,17 +176,17 @@ class BodyWidget extends StatelessWidget { ...@@ -175,17 +176,17 @@ class BodyWidget extends StatelessWidget {
fontSize: 16, fontSize: 16,
), ),
), ),
// Icon( Icon(
// Icons.arrow_drop_down, Icons.arrow_drop_down,
// color: ColorManager.grey, color: ColorManager.grey,
// size: 30, size: 30,
// ),
Text(
"Ubah",
style: getRegularStyle(
color: ColorManager.link,
), ),
) // Text(
// "Ubah",
// style: getRegularStyle(
// color: ColorManager.link,
// ),
// )
], ],
), ),
), ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment