I am currently new in GetX. I know about showDialog() method from Flutter. But, what I want to achieve is a custom dialog derived from Get.defaultDialog() using the template image attached below. In this documentation link, I know that there is a variable named: "content", which we can replace with a widget within Get.defaultDialog().
Does anyone know what does it mean? Does using this "content" can replace the entire widget of Get.defaultDialog() template layout, or is there something I have to done to achieve it? Any tips and tricks are welcome. Thank you.
You can use Get.dialog()
instead of Get.defaultDialog()
.
Or pass any Widget
to the content
named parameter of Get.defaultDialog()