sourhub226 / custom_title_bar

This Flutter package allows developers to personalize the window title bar of their desktop apps with custom colors and styles for the text and buttons.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TODO: Put a short description of the package here that helps potential users know whether this package might be useful for them.

Features

TODO: List what your package can do. Maybe include images, gifs, or videos.

Getting started

Usage

The CustomTitleBar widget is a PreferredSizeWidget. The default implementation is to use it in the AppBar of the Scaffold.

Scaffold(
  appBar: CustomTitleBar(
    title: 'My App',
  ),
);

Parameters

  • title (required) - The title of the window.
  • backgroundColor (optional) - The background color of the title bar.
  • foregroundColor (optional) - The foreground color of the text and icons on the title bar.
  • leading (optional) - The widget to display on the left side of the title.
  • size (optional) - The height of the title bar.

Variations

License

This package is licensed under the MIT License. See the LICENSE file for details.

About

This Flutter package allows developers to personalize the window title bar of their desktop apps with custom colors and styles for the text and buttons.

License:MIT License


Languages

Language:C++ 44.8%Language:CMake 37.1%Language:Dart 11.0%Language:C 3.7%Language:Swift 2.5%Language:Shell 0.9%