A playable and customizable and easy-to-use toolbar made with flutter.

Overview

Pub

playable_toolbar_flutter

Playable toolbar package is a beautiful animated menu(toolbar) which you can customize as much as you want.

Installation

  1. Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
  playable_toolbar_flutter: ^latest_version
  1. Import the package and use it in your Flutter App.
import 'package:playable_toolbar_flutter/playable_toolbar_flutter.dart';

Screenshots

Preview1

Preview2

Example

There are a number of properties that you can modify. Customize them as you want:

  • List of items πŸ“ See example below.
  • Height & Width πŸ‘‰πŸ» toolbarHeight & toolbarWidth
  • Items Gutter πŸ‘‰πŸ» itemsGutter
  • Items Offset πŸ‘‰πŸ» itemsOffset
  • Background color πŸ‘‰πŸ» toolbarBackgroundColor
  • Shadow under the toolbar πŸ‘‰πŸ» toolbarShadow
  • Toolbar Radius πŸ‘‰πŸ» toolbarBackgroundRadius
  • Horizontal padding πŸ‘‰πŸ» toolbarHorizontalPadding
  • Animation duration (will be added in future updates)
  • Animation curve (will be added in future updates)

List Items

βœ” You can create list items like below.

  1. First import list_item_model like this:
import 'package:playable_toolbar_flutter/list_item_model.dart';
  1. Then create your items like this:
ListItemModel(
  onTap: () => print("Edit is tapped."),
  title: 'Edit',
  color: Colors.pinkAccent,
  icon: Icons.edit,
),

editICon

  1. Then create list of your items and pass it to playable_menu_flutter widget:
List<ListItemModel> someToolbarItems = [
  ListItemModel(
    onTap: () => print("Edit is tapped."),
    title: 'Edit',
    color: Colors.pinkAccent,
    icon: Icons.edit,
  ),
  ListItemModel(
    onTap: () => print("Delete is tapped."),
    title: 'Delete',
    color: Colors.lightBlueAccent,
    icon: Icons.delete,
  ),
  ListItemModel(
    onTap: () => print("Comment is tapped."),
    title: 'Comment',
    color: Colors.cyan,
    icon: Icons.comment,
  ),
];

main.dart

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'playable_toolbar_flutter test App',
      home: Scaffold(
        body: PlayableToolbarWidget(
          toolbarItems: someToolbarItems,
        ),
      ),
    );
  }
}

Support

You can support me by following me on and GitHub

And also don't forget to star this package on GitHub

You might also like...

An easy to use side menu in flutter and can used for navigations

An easy to use side menu in flutter and can used for navigations

Easy Sidemenu Easy sidemenu is An easy to use side menu (bar) for flutter that you can use for navigations in your application. Sidemenu is a menu tha

Dec 29, 2022

Flutter plugin to display a popup menu button widget with handsome design and easy to use.

Flutter plugin to display a popup menu button widget with handsome design and easy to use.

menu_button Flutter widget to display a popup menu button very simply and easily customizable. Resources Documentation Pub Package GitHub Repository I

Sep 27, 2022

Most popular and easy to use open source UI library with 1000+ Widgets to build flutter app.

Most popular and easy to use open source UI library with 1000+ Widgets to build flutter app.

GetWidget is a 100% free Flutter open-source UI Kit library built with Flutter SDK to make Flutter development easier and more joyful than ever. GetWi

Jan 1, 2023

Easy to use, reliable and lightweight gesture detector for Flutter apps, exposing simple API for basic gestures

Simple Gesture Detector Easy to use, reliable and lightweight gesture detector for Flutter apps. Exposes simple API to react to basic gestures. Featur

Nov 4, 2022

Most popular and easy to use open source UI library with 1000+ Widgets to build flutter app.

Most popular and easy to use open source UI library with 1000+ Widgets to build flutter app.

GetWidget is a 100% free Flutter open-source UI Kit library built with Flutter SDK to make Flutter development easier and more joyful than ever. GetWi

Jan 3, 2023

Hyakunin-isshu - This library has been developed to make it easy to use Japanese Hyakunin Isshu in Dart and Flutter applications

Hyakunin-isshu - This library has been developed to make it easy to use Japanese Hyakunin Isshu in Dart and Flutter applications

1. About 1.1. What Is Hyakunin Isshu? 1.2. Introduction 1.2.1. Install Library 1

Jan 11, 2022

Expense tracking app flutter - Simple and easy to use Expense Tracking App

Flutter Expense Tracking App πŸš€ Simple and easy to use Expense Tracking App. Fea

Feb 7, 2022

FFloat, although simple and easy to use, can satisfy all your imagination of the floating layer.

FFloat, although simple and easy to use, can satisfy all your imagination of the floating layer.

ffloat FFloat, although simple and easy to use, can satisfy all your imagination of the floating layer. Born and elegant, supporting precise position

Oct 25, 2022
Comments
  • Problem instanciating the toolbar Ypositions is empty

    Problem instanciating the toolbar Ypositions is empty

    Hello, i am having an issue with the toolbar in the moment that i instanciate it: image

    it is breaking on this line, saying that the yposition list is empty.

    image image

    Those are the functions to return the itens, tried with 2, 3 itens but withou sucess.

    i think the yposition list is clearing every tick of the instance of the state.

    good first issue 
    opened by LeonardoFloriano 1
Owner
Mohammad Saleh
Computer Science graduate from SBUK. Love android & Flutter πŸ’™ .
Mohammad Saleh
A flutter widget to indicate loading progress. Easy to use, easy to extend

?? ?? ?? A flutter widget to indicate loading progress. Easy to use, easy to extend

Manuel Duarte 2 May 30, 2022
A TabBarController that is easy to use for flutter developers. πŸ₯° It supports various styles of page navigation, and you can also use it to customize your favorite styles. 🍻🍻

easy_tab_controller A user-friendly TabBarController widget for flutter developer. Getting Started This project is a starting point for a Flutter plug

εœ†ε·ζœ¬ζ˜Š 3 May 26, 2022
This library provides a customizable Flutter widget that makes it easy to display text in the middle of a Divider.

1. About 1.1. Introduction 1.1.1. Install Library 1.1.2. Import It 1.1.3. Use TextDivider 1.2. Details 1.2.1. Customization Options 1.2.2. Horizontal

Kato Shinya 2 Feb 9, 2022
Add beautiful animated effects & builders in Flutter, via an easy, highly customizable unified API.

Flutter Animate A performant library that makes it simple to add almost any kind of animated effect in Flutter. Pre-built effects, like fade, scale, s

Grant Skinner 352 Dec 25, 2022
Dart JS interop for Mermaid - The Javascript tool that makes use of a markdown based syntax to render customizable diagrams, charts and visualizations.

Mermaid (Dart) Dart JS interop for Mermaid - Javascript library that makes use of a markdown based syntax to render customizable diagrams, charts and

Tim Maffett 3 Dec 12, 2022
This project aims to provide a simple and customizable Review Page interaction made with Flutter.

Review Page Interaction This project aims to provide a simple and customizable Review Page interaction made with Flutter. Check it out on BΓ©hance (htt

Marcos Morales Rodrigo 29 Mar 29, 2022
Flutter simple image crop - A simple and easy to use flutter plugin to crop image on iOS and Android

Image Zoom and Cropping plugin for Flutter A simple and easy used flutter plugin to crop image on iOS and Android. Installation Add simple_image_crop

null 97 Dec 14, 2021
A Flutter package for simple and easy to use actions like buttons, checkboxes and switches.

Easy Actions Overview A Flutter package for simple and easy to use actions like buttons, checkboxes and switches. Features Elevated Button Outlined Bu

Ashish Bhakhand 3 Jun 25, 2022