From 02f7ecdc066df6f4cf6bff05733e4a9347552eb3 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira <62367544+tilucasoli@users.noreply.github.com> Date: Wed, 9 Oct 2024 17:35:25 -0300 Subject: [PATCH] dialog --- packages/remix/demo/lib/components/toast_use_case.dart | 2 -- packages/remix/lib/src/components/dialog/dialog.dart | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/remix/demo/lib/components/toast_use_case.dart b/packages/remix/demo/lib/components/toast_use_case.dart index 08e7c8bb1..091a2af8d 100644 --- a/packages/remix/demo/lib/components/toast_use_case.dart +++ b/packages/remix/demo/lib/components/toast_use_case.dart @@ -1,5 +1,3 @@ -import 'package:demo/addons/icon_data_knob.dart'; -import 'package:demo/helpers/knob_builder.dart'; import 'package:flutter/widgets.dart'; import 'package:remix/remix.dart'; import 'package:widgetbook/widgetbook.dart'; diff --git a/packages/remix/lib/src/components/dialog/dialog.dart b/packages/remix/lib/src/components/dialog/dialog.dart index 540afacca..3a5161cdb 100644 --- a/packages/remix/lib/src/components/dialog/dialog.dart +++ b/packages/remix/lib/src/components/dialog/dialog.dart @@ -63,6 +63,7 @@ Future showDialog({ ), ]); } + return showGeneralDialog( context: context, pageBuilder: (context, animation, secondaryAnimation) => builder(context),