Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 591 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 591 Bytes

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.