An easy way to add rounded corner floating app bar in Flutter project.

Overview

rounded_floating_app_bar

Rounded floating app bar like new google applications has. This package provides an easy way to add rounded corner floating app bar in Flutter project.

Preview

Screenshot

Installing

  1. Add dependency to pubspec.yaml

    Get the latest version in the 'Installing' tab on pub.dartlang.org

dependencies:
    rounded_floating_app_bar: 0.1.0
  1. Import the package
import 'package:rounded_floating_app_bar/rounded_floating_app_bar.dart';
  1. Adding RoundedFloatingAppBar widget
RoundedFloatingAppBar(
  floating: true,
  snap: true,
),

How to use

Check out the example app in the example directory or the 'Example' tab on pub.dartlang.org for a more complete example.

Getting Started

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Contribute

  1. Fork the the project
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Make required changes and commit (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Questions? 🤔

Hit me on

Donate

If you found this project helpful or you learned something from the source code and want to thank me, consider buying me a cup of

  • PayPal
  • Google Pay (bhavikmakwana43@okhdfcbank)

License

Copyright (c) 2018 Bhavik Makwana

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
You might also like...

Starlight search bar - Starlight search bar with flutter

Starlight search bar - Starlight search bar with flutter

starlight_search_bar If you find the easiest way to search your item, this is fo

Apr 20, 2022

Animation nav bar - Flutter Animated Navigation Bar

Animation nav bar - Flutter Animated Navigation Bar

Flutter Animated Navigation Bar Getting Started This project is a starting point

Dec 30, 2022

Custom bottom bar - A bottom tool bar that can be swiped left or right to expose more tools.

Custom bottom bar - A bottom tool bar that can be swiped left or right to expose more tools.

custom_bottom_bar A bottom tool bar that can be swiped left or right to expose more tools. usage Create your custom bottom bars with up to four custom

Jan 26, 2020

Easiest way to add support for light and dark theme in your flutter app.

Easiest way to add support for light and dark theme in your flutter app.

Adaptive Theme Easiest way to add support for light and dark theme in your Flutter app. It allows to manually set light or dark theme and also lets yo

Dec 27, 2022

Add features to the Android / iOS keyboard in a simple way.

Add features to the Android / iOS keyboard in a simple way.

Keyboard Actions Add features to the Android / iOS keyboard in a simple way. Because the keyboard that Android / iOS offers us specifically when we ar

Dec 27, 2022

The easiest way to create your animated splash screen in a fully customizable way.

The easiest way to create your animated splash screen in a fully customizable way.

Animated Splash Screen Check it out at Pub.Dev Do it your way Assets image Custom Widget Url image IconData Or just change PageTransition and/or Splas

Nov 10, 2022

Example of floating buttons using dialogs on Flutter

Example of floating buttons using dialogs on Flutter

Flutter example using floating buttons and dialogs This is a simple example showing floating buttons above a UI. These a shown via the showDialog() fu

Mar 13, 2020

Floating Action Button Widget For Flutter

Floating Action Button Widget For Flutter

Flutter Tutorial - FloatingActionButton Widget (FAB) Embed the FloatingActionBut

Dec 27, 2021

Iosish indicator - 🍎 Create awesome and simple iOS style floating indicator which can be found when silent/sleep mode switched on Flutter.

Iosish indicator - 🍎 Create awesome and simple iOS style floating indicator which can be found when silent/sleep mode switched on Flutter.

Iosish indicator - 🍎 Create awesome and simple iOS style floating indicator which can be found when silent/sleep mode switched on Flutter.

Apr 1, 2022
Comments
  • Please ! Update the package for Flutter 2.0

    Please ! Update the package for Flutter 2.0

    Please ! Update the package for Flutter 2.0 Flutter Error after Debug: flutter/.pub-cache/hosted/pub.dartlang.org/rounded_floating_app_bar-0.1.0/lib/rounded_floating_app_bar.dart:218:20: Error: The method 'ancestorRenderObjectOfType' isn't defined for the class 'BuildContext'

    opened by Wisdom9596 1
  • Plugin doesnt allowkeyboard events to be raised and also prevents WillPopScope from working

    Plugin doesnt allowkeyboard events to be raised and also prevents WillPopScope from working

    This plugin has issues such that , when used :

    • WillPopScope no longer functions (returning false will still allow the operation)
    • Anything you put in WillPopScope doesnt fire
    • Doesnt allow events subscribed keyboard_visibility plugin to be raised when you tap an AppBar action
    opened by therealjohnsummer 0
  • No centerTitle

    No centerTitle

    Hi - thankyou for a nice plugin which we are currently using.

    Just one quick question - In standard AppBar, we have centerTitle property to centre the AppBar's title. What is the equivalent with this plugin ?

    Furthermore, In a scaffold we can do this :

    
    return Scaffold(
            body: ....
            appBar: _buildAppBar()); 
    

    and buildAppBar returns a PreferredSize widget, i.e

    
    return PreferredSize(
          child: rv,
          preferredSize: Size(double.infinity, kToolbarHeight),
        );
    

    How can we make RoundedFloatingAppBar accept a PreferredSize widget ?

    opened by sallymariehollywood 0
Owner
Bhavik Makwana
Google Developer Expert for Flutter and Dart | Speaker | Blogger | Google Certified Associate Android Developer
Bhavik Makwana
A package provides an easy way to add shimmer effect in Flutter project

flutter_shimmer_widget A package provides an easy way to add shimmer effect in Flutter project Getting Started Animation Example Project There is a ex

Le Anh Tuan 4 Jun 29, 2022
Flutter Image add drag sort, Image add drag sort, support click event, delete, add, long press drag sort.

flutter_image_add_drag_sort Flutter Image add drag sort, Image add drag sort, support click event, delete, add, long press drag sort, support video fi

null 5 Jun 23, 2020
The Flutter plugin that help you can choose dates and years with rounded calendars and customizable themes.

Flutter Rounded Date Picker The Flutter plugin that help you can choose dates and years with rounded calendars and customizable themes. Installing Add

benznest 313 Dec 22, 2022
Text and TextField highlighted with rounded corners

rounded_background_text Highlight text with rounded corners Features ✅ Highlight

Bruno D'Luka 39 Nov 6, 2022
A modified version of the existing checkbox with the shape of a circle instead of a rounded rectangle!

A modified version of the existing checkbox with the shape of a circle instead of a rounded rectangle!

Mash Ibtesum 53 Oct 24, 2022
An easy way to add all google ads to your flutter app.

Google Ads An easy way to add all google ads to your flutter app. How to use it Add the google_mobile_ads package using flutter pub add google_mobile_

Yemeni Open Source 4 Sep 27, 2022
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

Fliggy Mobile 221 Oct 25, 2022
This is a JazzCash UI clone ( Modern Wallet App in Pakistan), implementing modern app bar animmation. One can take a concept of making app bar with animation.

jazzcash_ui This is a JazzCash UI clone ( Modern Wallet App in Pakistan), implementing modern app bar animmation. One can take a concept of making app

null 9 Nov 27, 2022
Flutter-nav-bottom-bar-tutorial - A flutter bottom navigation bar tutorial

Flutter Bottom Navigation Bar Tutorial A tutorial with various Flutter bottom na

Aleyna Eser 2 Oct 25, 2022
A flutter plugin about qr code or bar code scan , it can scan from file、url、memory and camera qr code or bar code .Welcome to feedback your issue.

r_scan A flutter plugin about qr code or bar code scan , it can scan from file、url、memory and camera qr code or bar code .Welcome to feedback your iss

PengHui Li 112 Nov 11, 2022