openPage<T> method

Future<T> openPage<T>(
  1. Widget iten
)

Implementation

Future<T> openPage<T>(Widget iten) async {
  // Abre a tela
  return await showDialog(
    context: Get.overlayContext!,
    builder: (context) => iten,
  );
}