A libadwaita package for providing AdwControls and AdwActions for AdwHeaderBar

Usage

First import this package at the top of your dart file

import 'package:libadwaita_core/libadwaita_core.dart';

Then simply pass it to the actions and controls parameter of AdwHeaderBar

AdwHeaderBar(
    actions: AdwActions(
        onClose: ...,
        ...
    ),
    controls: AdwControls(
        closeBtn: (onClose) => ...,
        ...
    ),
    ...
)

Additional information

This package is a part of libadwaita package.

Libraries

libadwaita_core