How do I make this bottom line in flutter? [closed] - flutter

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 days ago.
Improve this question
How do I make this bottom line in flutter? Like this

is this a draggable bottom sheet?
I've found a package for that:
https://pub.dev/packages/draggable_bottom_sheet
otherwise probably just a SizedBox with rounded borders

Related

How To Use Wrap Function In Vs Code For Flutter Coding? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 months ago.
Improve this question
How To Use Wrap Function In Vs Code For Flutter Coding ?
I want to know shortcut key.
Select the code, than alt+Enter. You'll see below picture, now choose Extract method. Did you mean this?
You can wrap with Column/Row widget, then rename it to Wrap. Both provide children.
1st ctrl+shift+r on windows(default I think)
You will get
Now rename it to Wrap

Is it possible to have a button which can be moved [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
A friend of mind started a flutter project. He asked me if it is possible to set a button like the floating button of whatsapp and which will be movable by the user.
Here you need to code a container as a button and add a custom animation if that is the question you're asking.
If not What you are looking for is a Draggable widget. You can then handle the translation using onDraggableCanceled which is passed and offset that you can be used to update the placement - https://flutter.dev/docs/cookbook/effects/drag-a-widget
And there is a couple of animation we can do for a button in a flutter.
Refer to this - https://medium.com/flutter-community/animated-send-button-in-flutter-94c1834268b1
There are many ways to do this, for the sake of simplicity I would prefer you to check out Stack Widget, where you can give coordinates to each Widget(button in your case) and move them.
check out this tutorial:
https://youtu.be/1qlgbNN0BaE

flutter:how to flex several widgets when keyboard is coming [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
i wanna when keyboard is coming up flex the widgets out my problem is this
my loginpage
enter image description here
and my problem
enter image description here
You can use SingleChildScrollView to avoid this problem.

How to display current page using PDFKit on Swift [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
How to display the current PDF page when reading a PDF file using the PDFKit on swift ? That small box on the top or bottom of the page displaying “ 1 of 20 “ for example.
You can get the current page like this:
let currentPageIndex = pdfDocument.index(for: pdfView.currentPage!)

How can I make a UITextField look like a UILabel? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
How can I make a UITextField look like the number 4.5 in the following picture:
Simply change the textfield border style like so, this way, you will have invisible borders and just put the textfield in your cell: