Rating stars with 3.7, 4.269 rating (flutter) - flutter

I need widget to implement stars that can pe colored only for 70%, 87%

You can pick one from these packeges https://pub.dev/packages?q=rating and add it to your project. My recommendation will be https://pub.dev/packages/smooth_star_rating that package.

Related

Magento 2 - Configurable product swatches slider

is it possible to make slider from configurable product swatches ?
I'm using Martfury theme.
I want to show the swatches like related/cross sell products (in slider).
Thanks

How to add text label to a MapMarker? MapViewPins have poor perfomance apparently

I'd like to add custom markers with text labels on my map. I can use MapViewPins for this, but they "tremble" when map is being moved. Even one MapViewPin behaves like this in official Here example, so it is probably not an optimization issue.
When i load PNG image and use it as a MapMarker, it works perfectly. But i don't know how to add text to a marker.
I am using Here SDK for Flutter (Navigate Edition) 4.12.4.0 with Flutter 3.3.2
GIF below is an example. Cyan circles are MapMarkers, markers with icons and label are MapViewPins. Is there any solution to this problem?
Unfortunately, the MapViewPins, being widgets embedded in the MapView surface, need to be relocated to the fixed coordinates every time the map is interacted with by gestures, which is why you notice this "strange" behavior.
However, what you mention about using MapMarkers would be the best solution but in this case instead of using PNG files, you could use SVG files in which you enter the text you want to display.
There is currently no other way available to do what you mention using the HERE SDK (Navigate Edition).
Here is a link to our most up-to-date HERE SDK (Navigate Edition) documentation: https://developer.here.com/documentation/flutter-sdk-navigate/dev_guide/index.html

How to create a virtualized, reorderable list with dynamic sizes, and animated item adding and removal in Flutter?

I need a flutter list package with the following features:
Only renders items in/near visible range (virtualized)
Supports different item heights.
Reorderable through drag and drop
When an item is dragged to the edge of the screen, the list scrolls
When items enter or exit, the list animates nicely
The package ReorderableListView.builder (https://api.flutter.dev/flutter/material/ReorderableListView/ReorderableListView.builder.html) supports 1,3 and 4. No support for 5. Reordering animation was bad for items with differing heights (2) when I tried it out.
The package implicitly_animated_reorderable_list
(https://pub.dev/packages/implicitly_animated_reorderable_list/changelog) supports 3 and 5. Nothing mentioned about 1 or 2 in its readme, and a comment from January here (Flutter: Reorderable AND Animated ListView - any idea?) suggests 4 is missing.
Looking for advice on how to achieve this:
An amazing package that can do all 5.
A way to add features of these different packages together somehow. Is that at all possible?
Advice on forking or not forking and just starting from scratch.
In regards to forking what in your opinion is the most/least trivial of these features to build from scratch?
I'm new to Flutter, so anything I don't know enough to ask about in relation to this subject is also greatly appreciated.
Own answer:
There really isn't a need for any plugins or forks. ReorderableListview.builder can be used to accomplish all 5.
Not sure how I botched the code that made me think ReorderableListView.builder wasn't handling different heights of items correctly, but whatever the glitch was (maybe related to keys?), I'm not able to reproduce it. Interesting that all the docs/tutorials I found only show statically sized list items when dynamically sized list items are no problem.
As for the animated exits and entrances (i.e. not letting the list items seem to jump up and down in a disorienting way), this is really trivial to do by animating height with AnimatedContainer. The existence of a separate AnimatedList widget and ImplicitlyAnimatedList plugin threw me off a bit.

Customize word ribbon bar in office 365

I have been working to add icon group to word ribbon bar but I can not customize it as I want. For an example when I add 3 buttons, it will appear as horizontal direction. But when I add 4 buttons one icon will appear as usual but other three as small icons for vertical direction. Is there a way to solve this problem?
As far as I can tell the Manifest specifications do not allow you to set a fixed icon format or option to stop the group from collapsing the icons as you see when you use more than three buttons in your group.
The manifest specifications require you to that each icon must have three Images elements, one for each of the three mandatory sizes:
16x16
32x32
80x80
https://github.com/OfficeDev/office-js-docs/blob/master/reference/manifest/resources.md#images
So without the option in the manifest to block the group from collapsing it is managed by Office and it seems you don't have any say in this (for now). Let the Program Group know you need a fixed size option, they appreciate your feedback.
Adding button specifications:
https://github.com/OfficeDev/office-js-docs/blob/master/reference/manifest/control.md

Is there a way to uniquely style items in the wxChoice widget in wxPerl (WxWidgets)?

I'm trying to figure out if it's possible to style the items in a drop-down menu when I use the wxChoice widget. Best I can tell, it's not possible but I just wanted to ask the greater Perl community to make 100% sure that I was correct in my thinking.
My goal would be to color some of the items in the pull-down red, while others were black. I noticed that the wxChoice widget has the method SetForegroundColour, but this colors all the text in the wxChoice widget.
$driveCB->SetForegroundColour(wxRED);
Results in a pull-down looking like this:
Is it possible to individually style wxChoice items?
You can't do it with a wxChoice, but you could use a wxOwnerDrawnComboBox, there is an example of it in the wxWidgets samples, in the folder called combo.
The documentation says NO