Skip to content

Awesome pre-release

Pre-release
Pre-release
Compare
Choose a tag to compare
@prateekmedia prateekmedia released this 24 Feb 07:37
· 43 commits to main since this release

BREAKING

  • flapPolicy and flapPosition are now removed from FlapStyle use FlapOptions and options parameter of AdwFlap.
    • Previously
      AdwFlap(
        style: FlapStyle(
          width: ...,
          breakpoint: ...,
          flapPosition: ...,
          flapPolicy: ...,
        )
      )
    • Now
      AdwFlap(
        style: FlapStyle(
          width: ...,
          breakpoint: ...,
        ),
        options: FlapOptions(
          flapPosition: ...,
          flapPolicy: ...,
        )
      )
  • Fix spelling by renaming seperator to separator everywhere
  • AdwPopupMenu is now GtkPopupMenu
  • AdwStackSwitcher is now GtkStackSwitcher
  • AdwToggleButton is now GtkToggleButton

DEPRECATED

  • headerbar parameter from AdwScaffold and AdwAboutWindow is deprecated
    • Previously
      AdwScaffold(
        headerbar: (viewS) => AdwHeaderBar(
          start: start,
          end: end,
          title: viewS ?? title,
        ),
        viewSwitcher: viewSwitcher,
      )
    • Now
      AdwScaffold(
        start: start,
        end: end,
        title: title,
        viewSwitcher: viewSwitcher,
      )

ADDED

  • Add GtkDialog
  • Add appName and appVersion parameter
  • actions and controls parameter for AdwHeaderBar
  • Add ability to change horizontalTitleGap for AdwActionRow and AdwComboRow
  • Add visible property of FlapOptions
  • Add border to ViewSwitcher in mobile view
  • Init Translations

CHANGED

  • Changed default value of horizontalTitleGap to 8
  • Switch to titlebar_buttons package as window_decorations is deprecated
  • Link to external examples in example.md

Full Changelog: 1.0.2...1.2.0-dev