Is it possible that we ship the android app, which just loads a file(like /data/data/com.example/files/data.txt) into the memory, like we load fonts dynamically with loadFontFronList, which can be manually updated by the app automatically.
Thanking you...
Well, it's not possible like you said. but there're plugins by which you can achieve dynamic code at some level.
e.g. : Dynamic Widget , Json Dynamic Widget
Related
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.
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 .
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
I have a PM-system in my homepage and now building a app for this.
I want to show this PM now and in the next view edit it.
Showing is very simple, because I can use UIWebView for this.
But how to have and editable UIWebView, something like a RichtTextBox in iOS for this?
My only idea was to cut the HTML complete away from the PM an then display and edit in UITextView.
Does your system provide any kind of webservice interface (like REST or SOAP)? If you want to build the PM system as a native iOS App you should forget about the uiwebview and build the user interface yourself. Get the data remotely from your PM system (as XML, JSON, whatever), parse it and update the ui elements. That way you can layout and manage your ui and data as you wish.
Edit: If it doesn't maybe you should make the views of you web app iPhone compatible (e.g. sencha touch, jquery mobile) and try e.g. Phonegap.
Is there a library or good tutorial which covers creating in-app settings, like this:
http://img.skitch.com/20090625-s8bf6ahybwe3cesd1id38h3nt.jpg
What I would like is if it:
doesn't use the built-in Settings app, and does not replicate it's settings in the Settings app
is controlled by a plist file with various Dictionaries and Arrays
creates a nice looking table view
allows edit-in-place text fields as well as switches and sliders and ticks etc
doesn't have any of the annoying problems I've come across when trying to build my own version (not scrolling to show the textfield, cells disappearing)
JUST TO EMPHASIZE: I DO NOT WANT THE SETTINGS TO APPEAR IN THE SETTINGS APP.
It would appear that the iphone dev world is crying out for such a thing.
THANK YOU!
InAppSettingsKit
I've used the open source project InAppSettings, and it works well.