I have seen official flutter firestore material only in pub.dev
But there even wasn't a single sentence about getDocuments().
Which site should I look at if I want to do a full formal study on this?
I have already seen cookbooks on flutter dev.
Not much to study, there is even implementation on API refrence. However its just few lines, but I don't know what more there could be...
You can get there from package main page, on the right.
Related
Need help to understand if Flutter can help us.
We are looking at flutter for app development for a rewrite of a js electron for desktop and js webview for mobiles.
It is basically a sophisticated reading app with multiple dictionaries and searching algorithms and other features specific to an Asian language and also English parallel translations.
We want to display Religious books in the native Unicode language with extensive dictionary support.
The books will have some bold and heading text markup (the markup style can be any format but we currently use html styles).
The books will be in a sqlite DB and streamed to the user.
The books will be stored in the db by paragraph.. We need to display this in a built up flow to the user.
The books will have some items which can be displayed or hidden upon user request but we can regenerate the display if needed. (currently it does live through js).
The books will need to communicate if a tap() or Textselect() event has been called (we often tap to select a word and it goes to a custom dictionary).
Searching for strings in the book will be done by paragraph and then we need to 1) highlight the text and bring the user to that text.
We wish to implement infinite scroll or "Lazy load" as the books are very big and often text processing to change the native script font is involved before display.
Conclusion
I think this captures much of what we want to have.
I have done some work in flutter, but i'm very new to it.
It seems that there is a SelectableText.rich widget and perhaps we could connect them together in an infinite scroll list widget from pub.dev
For hiding the page numbers.. and alt readings, it is fine to reload the book and remove those as we feed the widget with text.
There are a few html widgets, but I'm not sure if it gives select and tap events.
Can Flutter do this for us?
Are there packages that I'm not aware of?
Am I heading in the wrong direction?
I have done a test called https://github.com/bksubhuti/mydbtest
It seems to work.. the selecting of texts are off by a few bits, but it is workable..
However, I have found a full app for my purpose already written in flutter with a sqlite philosophy already working. The dev and myself are in touch and the project has been upgraded to null safety. Flutter is awesome. In about a month.. part time.. I have learned flutter and written my first app and submitted it to the play store called Buddhist Sun. (pending approval). I use sqflite and the multiplatform eq for getting cities.. the db search of cities was more of a flutter tutorial for me than purpose.
https://github.com/bksubhuti/buddhist_sun
Flutter will be the language of the future. I'm so amazed at how great it works and all the packages on pub.dev
I've seen a lot of flutter packages for onboarding users which are basically no more than just a slide deck. For example here is one: https://pub.dev/packages/introduction_screen
However, I am looking for something a bit more interactive. I'd like for the user to follow along with the tutorial. I've seen onboarding handled this way in a lot of websites, such as seen below:
Is there a pre-built package or easy way to mimic this type of interactive, user onboarding process in flutter?
Thanks in advance.
There is a package tutorial_coach_mark: that you can use to create a beautiful and easy tutorial for your application. It'll help you in a more interactive onboarding.
Check it out here: https://pub.dev/packages/tutorial_coach_mark
There is also another package: highlighter_coachmark:
but it might not be null safe.
If you don't want to rely on external packages, I'll recommend looking up this answer
I've been searching for a while about this but couldn't find any final words about it.
I want to get a feed of all packages from the Pub.dev site. i'm making an app to display all packages with examples on mobile.. all packages are copyrighted with their respected author off course. put can't find a data api and there's a .atom feed file but it only gets recent packages.
I could scrape the data but i don't know what are the legal terms to this. i tried looking at the terms of service but everything was too general to get a grasp on.
Can someone help?
Thanks :)
The Pub Api is hosted here.
https://pub.dev/api/packages/
Example:
https://pub.dev/api/packages/device_preview
When I reading the code of flutter. I find some code in framework.dart like
Timeline.startSync('Build', arguments: timelineWhitelistArguments);
Timeline.finishSync();
I found the document in this website
https://api.flutter.dev/flutter/dart-developer/Timeline-class.html
But I still don't understand what is the purpose of this class.
It's used to check the app performance on a timeline in Flutter DevTools.
You can read more about it here: Tracing Any Dart Code Performance
EDITED
Also found a good article about profiling Flutter apps using timelines at medium.
Medium Article
I am learning how to make an AnimatedList. I ran the example from the documentation. Although it is not nearly as easy to understand and use as a ListView, the example worked. However, there was a message on the documentation page:
This page is deprecated and its content may be out of date.
Usually when something is deprecated there is a better way to do it, but I cannot find any other information. What is wrong with that documentation page that makes it deprecated?
It looks like this style of documentation has been discontinued.
Thus, the code is not up to date and also not maintained anymore.
/docs/catalog/samples is not really part of the "Docs" tab on flutter.io anymore.
It only redirects to a "curated list of samples", which is not related to the /docs/catalog/samples/... section of flutter.io.
The AnimatedList class can be found in the widgets documentation.
Some of the widgets have samples built into their docs page. An example of this would be Column.
Hence, the conclusion that the old samples are not needed anymore.