You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to show overlay only on one widget rather than the whole screen. I tried seperating that widget out, into a new widget but found no luck. Is my request possible to achieve?
I tried this, but still overlay occupies whole screen:
`class TapOnceButton extends StatelessWidget {
final Widget child;
final VoidFutureCallBack onPressed;
I am trying to show overlay only on one widget rather than the whole screen. I tried seperating that widget out, into a new widget but found no luck. Is my request possible to achieve?
I tried this, but still overlay occupies whole screen:
`class TapOnceButton extends StatelessWidget {
final Widget child;
final VoidFutureCallBack onPressed;
const TapOnceButton({Key? key, required this.child, required this.onPressed})
: super(key: key);
@OverRide
Widget build(BuildContext context) => LoaderOverlay(
child: ElevatedButton(
child: this.child,
onPressed: () async {
context.loaderOverlay.show();
await this.onPressed();
context.loaderOverlay.hide();
}));
}
`
The text was updated successfully, but these errors were encountered: