Slide-able Time Range Picker in flutter - flutter

How to implement Time Range selector in flutter as shown below.
I have tried almost every package in pub.dev yet unable to find any library that offers such functionality.

Try this: video_trimmer
or this: video_editor

Related

Why local package widgets not showing up time to time?

I have a ui package, this package simply contains some(10+) widgets and they are all just a widgets. None of them some complex controller or etc so when I use them, I can't miss the something like initializers or etc.
So my problem is, after the installation an app(which is contains a lot of witget from that package) everything working correctly like the image.
But if I change the current app on android/real device(and without debug mode), like switching the chrome and spend some time at the browser, after returning the app, all widgets showing off, they are simply dissappering. Like the image;
So my question is simple, why can it be happen? By the way, the divider as shown the middle of the page,is not part of the package, it is located in app/lib folder.
and lastly, I don't give any change but I have 57 svg file in the package but I am not call all of them at same time and their total size just 833,5kb, but maybe it can be related?
I don't have any native knowledge but if anyone can point me some tips, I will be glad.
Not really sure if it's a bug related to the new version of Flutter (3.0.2) but upgrading ext.kotlin_version inside android/build.gradle to 1.7.0 do the trick.

How to customize file_picker UI in flutter

I find it difficult to customize the UI of the file picker. I want to implement a picker with my own new UI rather than a native picker. What should I do?
waiting for a good answer!
I'm not good at English, so I got help from a translator. thank you for reading.
https://github.com/fluttercandies/flutter_wechat_assets_picker
Is it possible to customize with this plugin?
You can use the photo_manager plugin to get all the photos and make your own file picker, but there is no way to modify the file_picker ui as it calls native file pickers directly.
you can use file_manager plugin it support android and linux by the time this answer was written .

How use Tailwind-css in a Flutter application

I'm moving the first steps with Flutter and I was wondering if is possible to use tailwinds styles and components.
thank you
Well, i don't think there is an equivalent to MaterialApp for Tailwind CSS. but you can try this package:
https://pub.dev/packages/tailwind_colors
And also building your own.
flutter devs for this issue I created a package that can be used as Tailwind CSS styling for your flutter projects here you can check it:
https://pub.dev/packages/tailwind_cli

How to tap to copy html text in flutter app

My developer is building an educational app for me and we kind of have a problem. I want to know how to tap a word or phrase on the screen to show copy, highlight, web search like the image below. The app was built with flutter and the code is in dart. This feature is really needed. Will appreciate if someone can help with a plugin or just a way to do this.
If you are using webview package you have a gestureRecognizers property in webview widget, just add this line:
WebViewPlus(
gestureRecognizers: {}..add(Factory<LongPressGestureRecognizer>(() =>
LongPressGestureRecognizer())),...)
Flutter has selectable text for that
If he is using webview, maybe this could help?
How to enable text selection modal(copy/paste/select) in flutter webview?
They is a package for copy and paste text in the flutter.
FlutterClipboard.copy(item.code).then((value) {})
package link
Well I got your problem.
There is a possible solution. Here you are doing is sending data from server in html format and displayed it using html_viwer. But there is no functionality I found to select and copy so far.
The possible solution is send string data from server and use SelectableText() to show the text and you will be able to select and copy your text.
There's a solution for this, just use SelectableHtml widget instead of only Html

Is runApp() method necessary to create a flutter app?

dart code
I expected this code to paint a black colored rectangle to screen but it didn't .I'm using flutter framework and I want to know that don't flutter support making apps like these or any mistake in my code. I just
wanted to make run flutter code without built-in flutter framework library
}
Yes, it's necessary. In dart only execute code inside the main method. Not like JavaScript or Python. It's like java/c. The only execution is the main method.