Skip to content

Conversation

@needlesslygrim
Copy link
Member

@needlesslygrim needlesslygrim commented May 10, 2024

Switch to Dart 3 ( Flutter 3? ) and update Dart code to reflect update, e.g. using Iterable.indexed instead of index-based for loops. A few issues arose when upgrading DropdownButton2, but I think(?) I've resolved most of those...

- Fixed problems with DropdownButton2 in `lib/components/button.dart`
  - Tried to match behaviour off old version, might not be 100% correct
- Update generated linux bindings

Signed-off-by: Erick Howard <needlesslygrim@proton.me>
.toList(),
value: selectedValue.isEmpty ? null : selectedValue.last,
selectedItemHighlightColor: MColors.transparent,
// FIXME: Fix this
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@micfong-z Can you review this, I'm not sure what it did

child: DropdownButton2(
isExpanded: true,
scrollbarAlwaysShow: true,
// FIXME: Fix this:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was also something I wasn't sure about

Signed-off-by: Erick Howard <needlesslygrim@proton.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant