Skip to content

chore: fix dependency conflict#1071

Open
MostafaSensei106 wants to merge 821 commits intoubuntu:releasefrom
MostafaSensei106:fix/dependency-conflict
Open

chore: fix dependency conflict#1071
MostafaSensei106 wants to merge 821 commits intoubuntu:releasefrom
MostafaSensei106:fix/dependency-conflict

Conversation

@MostafaSensei106
Copy link
Copy Markdown

  • Bump assorted_layout_widgets to 12.0.0 to resolve pub.dev warnings.

  • image
  • Remove direct dependency on test package from pubspec.yaml.

  • Migrate test imports to flutter_test.

  • Consolidate test framework and fix partially passed report sections.

github-actions bot and others added 30 commits August 15, 2023 21:14
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: jpnurmi <jpnurmi@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix: update to flutter 3.13

* chore: update goldens

* fix: use SlottedMultiChildRenderObjectWidget
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* feat: simplify togglable code

Use canvas scale to simplify tooglable code.

* Update goldens
Fix scale computing so it looks like before ubuntu#777
* feat: add YaruTabBar

* add a tabbarview to example

* Extract YaruTab

* Expose height
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
"If [TabController] is not provided, then the value of [DefaultTabController.of] will be used."
Co-authored-by: Ken VanDine <ken.vandine@canonical.com>
* feat: added no splash factory

* Update lib/src/themes/common_themes.dart

* fix fail

---------

Co-authored-by: Stefano Liuzzo Scorpo <stefano.liuzzo@devmy.it>
Co-authored-by: Frederik Feichtmeier <frederik.feichtmeier@gmail.com>
PsychotherapistSam and others added 23 commits October 16, 2025 23:04
…ing (ubuntu#1036)

* Fix default font size to match Yaru GTK

11pt to 14.66dp (pixels)

* Override default letter spacing to zero

* Reduce list tile density

Increase in text size requires a slightly less dense VisualDensity

* Update goldens

---------

Co-authored-by: ashuntu <ashton.nelson@canonical.com>
Co-authored-by: Frederik Feichtmeier <frederik.feichtmeier@gmail.com>
Co-authored-by: Feichtmeier <Feichtmeier@users.noreply.github.com>
* feat(a11y): Add YaruFocusBorder widget

* fix: Make YaruFocusBorder draw in the foreground to prevent size changes
* fix(a11y): Thicken borders around text inputs

* fix: Rename kYaruBorderWidth to kYaruFocusBorderWidth
* feat(a11y): Add YaruFocusBorder to YaruIconButton

* feat(a11y): Add YaruFocusBorder to YaruBanner

* feat(a11y): Add YaruFocusBorder to YaruCarousel nav buttons

* feat(a11y): Add YaruFocusBorder to YaruChoiceChipBar chips

* feat(a11y): Add YaruFocusBorder to YaruDateTimeEntry buttons

* feat(a11y): Add YaruFocusBorder to YaruSelectableContainer

* feat(a11y): Add YaruFocusBorder to toggleable widgets, tiles, and buttons

* feat(a11y): Add YaruFocusBorder to YaruOptionButton

* feat(a11y): Add YaruFocusBorder to YaruSplitButton

* feat(a11y): Add YaruFocusBorder to YaruMasterTile

This removes the need for a specific focus decoration as added previously

* test: Update tests and goldens

* fix(a11y): Add YaruFocusBorder to example app widgets

* fix(a11y): Add focus border toggle to YaruTheme

This makes it so the focus borders can be turned on/off globally, or at a per-widget basis. The downside of this is that widgets won't have focus borders by default when not a descendent of a YaruTheme

* test: Update golden images

* fix: Remove unnecessary import
* fix: Increase split button dropdown button height

* fix: Reduce spacing between split button buttons

Reduces the gap between filled buttons to 1 and no gap between outlined buttons.
* fix: Respect focus border settings for toggle buttons

Previously toggle button focus borders were by default on, now they should respect the overall YaruTheme (which, by default, is on).

* tests: Update golden images
Also adds some tests for YaruSplitButtons since there were none before.
* feat!: Adjust YaruInfoBox look and feel

Removes the inner ListTile widget that this widget depends on as it cannot be styled easily in the ways we need it to be. As a consequence, the isThreeLine field isn't relevant anymore.

Aligns the icon to the top left instead of centered, and adjusts padding between elements.

* test: Add YaruInfoBox tests
* fix: Reduce default ListTile text size

* test: Update goldens
* feat: Add YaruListTile widget

Similar to a YaruTile and ListTile, but more flexible and with updated design

* feat: Add YaruTileList

Primarily used for displaying YaruListTiles in a bordered list

* feat: Add YaruListTile and YaruTileList examples

* fix: Deprecate YaruTile

YaruListTile can be used instead

* fix(example): Replace example YaruTile with YaruListTile

* fix: Add additional bottom padding on YaruListTile

When a YaruListTile also has a subtitle, the spacing on the top and bottom is very slightly off. This adds a 1 unit padding on the bottom to account for this when a subtitle is present.

* fix: Align YaruListTile border to outside

This ensures that each tile is exactly the same height.

* fix: Ignore deprecation warnings for YaruTile

* fix: Add YaruListTile and YaruTileList doc strings

* fix: Clip hover overlay to prevent overflow
* fix: Thicken checkbox borders

* fix: Thicken radio borders

* fix: Reduce switch size

* fix: Reduce toggle button text size

* fix: Increase border contrast on togglables

This very slightly darkens the border in light mode to hit 3:1 contrast

* feat!: Use YaruListTile for toggle tiles

Replaces the Material ListTile used for toggle tiles with the new YaruListTile for more unified styles. Also introduces a YaruToggleListTile to unify the options shared between each tile type.

* feat(example): Update example page with new options

* test: Adjust toggle list tile tests

* fix(example): Remove custom control examples from radio/checkbox

These are still supported, but we do not want encourage these layouts as they make more sense with switches.

* fix(example): Make navigation button focusable

* fix: Change checkbox to left side of tiles

* fix: Reduce switch thumb height to 20

* test: Update goldens
* feat: Add option to hide the default popup icon

This is useful to be able to display *just* an icon as the popup menu button

* fix: Rename showIcon to showArrow
- Bump assorted_layout_widgets to 12.0.0 to resolve pub.dev warnings.
- Remove direct dependency on `test` package from `pubspec.yaml`.
- Migrate test imports to `flutter_test`.
- Consolidate test framework and fix partially passed report sections.
@MostafaSensei106 MostafaSensei106 changed the title Fix/dependency conflict chore: fix dependency conflict Mar 26, 2026
@MostafaSensei106 MostafaSensei106 deleted the fix/dependency-conflict branch March 26, 2026 06:35
@MostafaSensei106 MostafaSensei106 restored the fix/dependency-conflict branch March 26, 2026 06:36
@MostafaSensei106 MostafaSensei106 deleted the fix/dependency-conflict branch March 26, 2026 06:36
@MostafaSensei106 MostafaSensei106 restored the fix/dependency-conflict branch March 26, 2026 06:36
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.