when popup the copy/paste toolbar in flutter TextField, the tool bar on top of cutout. this is the link
https://github.com/flutter/flutter/issues/37501
any ideas how to custom the position?
This issue is solved by Google. Actually, it is a bug of Flutter
Related
I would like to create a scroll up bottomsheet something like this
Right now I am working with DraggableScrollableSheet widget. But I don't know how to add animation and that handle icon that changes when the sheet goes up or down.
You can use Solid bottom sheet package from here
also bottom_sheet_bar is similar like this.
In my flutter projects I use the following package for animated bottom sheets:
https://pub.dev/packages/modal_bottom_sheet
I met a problem with push method in FLutter. Firstly, I have a main screen included AppBar and body to control many screens. In child screen, I tried to push to another new screen, but it didn't open full-screen and it's attached with AppBar from mainscreen. How can I fix it or any recommend keywords?
Many thanks
The problem is from package https://pub.dev/packages/persistent_bottom_nav_bar. When I used Flutter default bottom navigation, the problem is solved.
for my flutter project I need to create an animated bottom sheet in the sense that it will transition height when pressing a button... How can I do that?
I searched some flutter package because of like your reason.
I think that 'sliding_up_panel' package is what you find.
https://pub.dev/packages/sliding_up_panel
Is it possible if I want to move my screen to the bottom when pressing a button.
Please find this link to get yourself up and running.
It is always a good idea to try something yourself and upload the code here so we can help better :)
Scroll to Position Flutter
Hope this helps.
Can anyone please share the code snippet to enable the text selection model in the webview of the flutter? Till now I get that by default webview only has one gesture recognizer i.e. vertical scrolling. If anyone have code for LongPressGestureRecognizer please share it here. Thanks in advance.
Just add gestureRecognizers property in WebView widget, and then you will be able to long press on WebView content
example:
WebViewPlus(
gestureRecognizers: {}..add(Factory<LongPressGestureRecognizer>(() => LongPressGestureRecognizer())),
...
)
It was solved by changing the webview package. Currently I am using flutter_inappwebview package and it's working fine.
The thing was the previous webview package didn't support the touch and hold gestures.
Also, native webview for Android and iOS could also be used but no overlay can be shown in that case.
The above package works fine on both cases.