-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Occurrences Widget - On Site Help #21
Comments
@Vanethos Can i work on this issue ? |
Yes! I'll assign this issue to you |
@hientranea any news on this issue? |
@Vanethos, do you need help with this issue? |
Hey @TomerPacific ! Sure! I don't have access to the images yet but you can use one of logos in the assets folder I'll assign this to you |
@Vanethos , I have turned the background black so that the image asset can be shown (as it is white). I am also aware of the font size and will scale it accordingly. I wanted to get some clarification about the callback. If you could provide some more detail on how it should work, that would help me code it. As of this moment, I do not understand how this callback works. To what do I attach it? As described it is not passed in the constructor. Furthermore, I have taken the liberty to move the dateFormatter method, getFormattedDate, to the misc class inside the utils. I have done this, since this widget also needs to format the dateTime object. Let me know if this ok. |
@TomerPacific the callback should be ignored for now, it is something that must be done after all these widgets are created. Having the formatted date in another class is brilliant, thanks for that 👍 As with the previous widget that you have worked on, will this wrap nicely in a small card like we see in the original Post? What I mean is: If I use your item in a list, how will it look? Also:
|
@Vanethos , thanks for the quick reply. It is supposed to wrap nicely as I have wrapped everything in a Container widget.
The reason it is mapped this way is because I needed to have the image and the text in the same row. It does not align, as some rows/columns have the mainAxisSize attribute set with spaceEvenly. -- UPDATE -- |
Now with the update it's perfect 👍 |
Feature: On Site Help Widget Implementation (#21)
Description
Separate widget for the "On Site Help" of the Occurrences.
File Location
Requirements
Widget that with the
Occurrences
object displays information about:This widget must have a callback for the click on the map image, so that the details screen can show the Map screen with the marker centered on it
UI
NOTES
Until the API Is completed, assume that this widget has as an input 1
DateTime
object and 3int
.The text was updated successfully, but these errors were encountered: