Put flutter app in kiosk mode while on another app - flutter

I want to make a screen lock application with flutter. How can I put it in kiosk mode when I'm on top of other applications? thanks
I tried showing an overlay with the system_alert_window package and running it there, but it didn't work.

Related

Flutter overlay over other apps

I want to build a Flutter App that can show information in a modalBottomSheet, but outside of the App.
The App should run in the background and when I want it to show something, it should show a modalBottomSheet over the curently used App. It doesn't matter if the user is in a App or just the Homescreen, important is that the App runs from the background and can overlay other Apps.
You could use flutter_overlay_window. It can display your flutter app over other apps on the screen

How to create the live App Icon like Apple Clock using flutter?

Dynamic App Icon In Flutter
I am expecting for a way to make a similar ui,Put it in the app icon.
want to create the live app icon continuously changing itself, like apple clock app icon shows the current time in the App Icon.
Is There is any way to make that type of App icon in flutter
Similar App Icon like this

How to add splash screen without window in flutter desktop application

I am working on flutter desktop application. I want to add splash screen in my application like the one appear when we start android studio, like this Image.
Can anyone guide me how to achieve this. Thanks in advance.

Can I hide Flutter app contents when the app is in Background?

I'm developing an app that works with sensitive information.
One of the requirements is that when a user puts the app in background the content that the app is currently displaying has to be hidden, so if another person navigate through the apps in background he can't see the last screen where the user was.
Any ideas on how to do that?
I tried to show an overlay when the app moves to AppLifecycleState.paused, but it doesn't work for me, the app prints a message if I want but it can't update the UI.
Edit
Shameless plug: i did a library for doing just that as I also needed it:
https://pub.dev/packages/secure_application
Answear
Build is not called after paused, at least on Android.
For Android I used a flutter_windowmanager package (modified to still be able to build on IOS):
https://github.com/neckaros/flutter_windowmanager
When my app need securing I add the flag secure:
FlutterWindowManager.addFlags(FlutterWindowManager.FLAG_SECURE)
And my app is now a black screen in the app switcher.
You should still hide content your way for when the user get back to the app.
Otherwise you can go native:
https://medium.com/#mehmetf_71205/securing-flutter-apps-ada13e806a69

How to set SplashScreen after create build

I create a blank project in ionic. I also set splash screen in android platform. I can change the timing for this screen. All goes good.
But what if I want to set splash screen from by database at the time of installing this app. Is it possible or is there any other way.
#gautam It's not possible in Ionic or even any other mobile app developement platform
But you can do like reduce the time of splash screen to zero(0) and in device ready function you can call image from your database.