libadwaita 2.0.2 libadwaita: ^2.0.2 copied to clipboard
Libadwaita's widgets for Flutter. Following Gnome HIG and available on all platforms.
Changelog #
2.0.2 #
- Fix for automatically position window buttons property
2.0.1 #
- Fix window action buttons not visible sometimes
2.0.0 #
- Add Windows & macOS headerbar buttons (using
nativeControls
parameter) - Add builder for
AdwPreferencesGroup
- Update Documentation for various widgets
- Support Material 3 font naming scheme
- Bump dependencies
1.2.5 #
- Set default header buttons to min, max and close at the right side
1.2.1 #
- Improve Example
- Upgrade Packages
- Add onRightClick parameter for Headerbar's actions
1.2.0 #
BREAKING #
flapPolicy
andflapPosition
are now removed fromFlapStyle
useFlapOptions
and options parameter ofAdwFlap
.- Previously
AdwFlap( style: FlapStyle( width: ..., breakpoint: ..., flapPosition: ..., flapPolicy: ..., ) )
- Now
AdwFlap( style: FlapStyle( width: ..., breakpoint: ..., ), options: FlapOptions( flapPosition: ..., flapPolicy: ..., ) )
- Previously
- Fix spelling by renaming
seperator
toseparator
everywhere AdwPopupMenu
is nowGtkPopupMenu
AdwStackSwitcher
is nowGtkStackSwitcher
AdwToggleButton
is nowGtkToggleButton
DEPRECATED #
headerbar
parameter fromAdwScaffold
andAdwAboutWindow
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, )
- Previously
ADDED #
- Add
GtkDialog
- Add
appName
andappVersion
parameter actions
andcontrols
parameter forAdwHeaderBar
- Add ability to change
horizontalTitleGap
forAdwActionRow
andAdwComboRow
- Add
visible
property ofFlapOptions
- Add
border
to ViewSwitcher in mobile view - Init Translations
CHANGED #
- Remove null checks from WidgetsBinding (Flutter 3.0.0)
- Changed launch to launchUrl for url_launcher package
- Changed default value of
horizontalTitleGap
to 8 - Switch to
titlebar_buttons
package aswindow_decorations
is deprecated - Link to external examples in example.md
1.0.2 #
- Fix License in README
1.0.1 #
- Relicense under MPL-2.0
1.0.0+2 #
- Fix Table view on pub.dev
1.0.0+1 #
- Fix Example link
1.0.0 #
BREAKING #
AdwHeaderBar.minimal
is nowAdwHeaderBar.custom
- Remove
label
parameter fromAdwTextField
ViewSwitcherStyle
is nowViewSwitcherPolicy
ViewSwitcherStyle.desktop
andViewSwitcherStyle.mobile
are also renamed toViewSwitcherPolicy.wide
andViewSwitcherPolicy.narrow
Changes to widgets #
ComboRow
- Dropdown is now scrollable if too many elements are there
Flap
- Renamed
flapController
tocontroller
- Moved most of the things into
FlapStyle
class to simplify its usage inAdwScaffold
HeaderBar
- Now the
AdwHeaderBar
is not dependent on any package,windowDecor
object is now optional - Add
isTransparent
parameter => MakesAdwHeaderBar
's background and border color
Popover
- Revisit popup menu by using
popover_gtk
package (popover package with fade transition) (#35)
TextField
- Add
autofocus
parameter - Add
prefixIcon
parameter - Add
onSubmitted
parameter
ViewSwitcher
- Add
badge
inAdwViewSwitcher
New Widgets
AdwSwitch
=> port ofGtkSwitch
from gtk4AdwAboutWindow
=> port of upcomingAdwAboutWindow
from libadwaita
1.0.0-rc.2 #
BREAKING
AdwHeaderBarMinimal
is nowAdwHeaderBar.minimal
- The
start
andend
parameter ofAdwHeaderBar
are nowList<Widget>
instead ofWidget
AdwTextButton
is nowAdwButton.flat
- The
height
andexpanded
properties of ViewSwitcher are now deprecated
Other Changes
- Add
AdwComboRow
,AdwAvatar
,AdwButton
(.pill
,.circular
,.flat
) - Improve Header Button
- Update Sidebar Theming
- Update View Switcher theming
- Remove Scroll errors from example app by improving
AdwClamp
1.0.0-rc.1 #
- Added the following widgets:
AdwScaffold
AdwTextField
AdwTextButton
AdwViewStack
WindowResizeListener
- Fix Window buttons null error
- Update Example
- Update
AdwActionRow
&AdwStackSidebar
- Improve
AdwFlap
1.0.0-rc.0 #
- Seperate libadwaita (Widgets) and adwaita (Colors)
- Rename Every widget from GtkSomething to AdwSomething
- Rename GtkContainer to AdwClamp and GtkTwoPane to AdwFlap
- Add
AdwPreferenceGroup
andAdwActionRow
from libadwaita. - Add
AdwStackSidebar
which is basicallyGtkStackSidebar
AdwHeaderBar
parameter's- Replace leading with start
- Replace trailing with end
- Replace center with title
Older CHANGELOG can be found here