Flutter SliverAppBar similar of iPhone Google Maps - flutter

I try to implement in Flutter a similar Google Maps AppBar using CustomScrollView and SliverAppBar with an flexibleSpaceBar, but I don't found any option to display an widget only on "opened" state of AppBar.
The representation of result pretended is this:
Opened View
Bar View
After try develop this, I don't have success.
Any idea how to make this?
UPDATE
The needed effect is visualized in that gif:
via GIPHY

Hi, I think you are looking for something like this.
if yes, you can find the code in flutter gallery app.
Hope it helps :)

Related

How to make floating overlay widget, looks like facebook chat head in flutter?

How to make floating overlay widget, looks like facebook chat head in flutter??
Flutter floating overlay widget
i need help guys, What i do now?
What i'am doing picture
You can create a draggable chat button by checking below link. But it will be inside the application.
Inside app - https://medium.flutterdevs.com/draggable-floating-action-button-in-flutter-2149a7e47f06
If you want to draw the draggable view outside the application, check https://pub.flutter-io.cn/packages/system_alert_window plugin. Here, you need to do minor tweeks.
Apart from this, other approach is to write the code in native and access it to flutter via method channel
For native - https://medium.com/#kevalpatel2106/create-chat-heads-like-facebook-messenger-32f7f1a62064

Floating button that overlaps in all applications

I am learning flutter, and I found myself with the task of creating a floating button, that by minimizing the application the button is visible and overlaps any application, is it possible to create this functionality in flutter?
You should use Scaffold and there's a parameter called floatingActionButton. There you can add a button and it definitely won't overlay anything. You should also search for SafeArea and Listview/SingleChildScrollView. These are great widgets for avoid overlays. Flutter has a great documentation so you can always look up a widget in google and there will be always something.

Pageview.builder overlapping effect

I'm coding a quiz app. I want to achieve this. Everything is okay but the overlapping effect doesnt. I'm using pageview.builder to navigate between pages. How can i achieve this ?
I think you wish to have a carousel effect for your question cards.
A simple solution would be using ListView horizontally, also there are some packages that you would like to check, for example;
flutter_swiper
carousel_slider

Flutter to native- Calling native android or ios screen as a widget in flutter

I got a requirement to use the natively developed screen as a form of widget in the flutter code.
say i have a screen where half of the screen contains google-map for some height and rest of the design includes some other widgets. Here i want the google-map widget-a natively developed screen in the flutter as a widget(not as a screen directly but as a form of widget).
I want to know whether it is possible to do this way or not if yes how can we achieve this if anyone have any resources or links please share , it would be helpful to me.
Thanks in advance.

Flutter: How to make a scrollable menu of the screen?

I am working on a project but, I came across something I have never used before. When I searched about it I got confused with two ways backdrop and bottom sheet.
I want to know what is the exact way to do like the following pictures that I designed.
Use DraggableScrollableSheet widget