All Projects → iamSahdeep → liquid_button

iamSahdeep / liquid_button

Licence: Apache-2.0 license
Liquify your buttons, web demo at website

Programming Languages

dart
5743 projects
kotlin
9241 projects
HTML
75241 projects
swift
15916 projects
ruby
36898 projects - #4 most used programming language
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to liquid button

Motion-Tab-Bar
A beautiful animated flutter widget package library. The tab bar will attempt to use your current theme out of the box, however you may want to theme it.
Stars: ✭ 237 (+1216.67%)
Mutual labels:  flutter-plugin, flutter-apps, flutter-widget, flutter-ui, flutter-package
getwidget-docs
Get Widgets UI library docs.
Stars: ✭ 17 (-5.56%)
Mutual labels:  flutter-plugin, flutter-apps, flutter-widget, flutter-ui, flutter-package
flutter-app
Full Feature Todos Flutter Mobile app with fireStore integration.
Stars: ✭ 138 (+666.67%)
Mutual labels:  flutter-plugin, flutter-apps, flutter-widget, flutter-ui, flutter-package
Flutter-Apps
🌀 This is mainly focus on a complete application for production
Stars: ✭ 18 (+0%)
Mutual labels:  flutter-plugin, flutter-apps, flutter-widget, flutter-package
flutter bolg manage
Flutter实战项目,采用Getx框架管理,遵循Material design设计风格,适合您实战参考或练手
Stars: ✭ 373 (+1972.22%)
Mutual labels:  flutter-plugin, flutter-apps, flutter-widget, flutter-ui
Flutter Learning
🔥 👍 🌟 ⭐ ⭐⭐ Flutter all you want.Flutter install,flutter samples,Flutter projects,Flutter plugin,Flutter problems,Dart codes,etc.Flutter安装和配置,Flutter开发遇到的难题,Flutter示例代码和模板,Flutter项目实战,Dart语言学习示例代码。
Stars: ✭ 4,941 (+27350%)
Mutual labels:  flutter-plugin, flutter-apps, flutter-widget, flutter-ui
FlutterLoadingGIFs
Loading indicator GIFs. Material and Cupertino (Android and iOS) loading indicators in assorted sizes. Use as placeholders for loading remote image assets. Demo: https://gallery.codelessly.com/flutterwebsites/loadinggifs/
Stars: ✭ 28 (+55.56%)
Mutual labels:  flutter-plugin, flutter-widget, flutter-ui, flutter-package
survey kit
Flutter library to create beautiful surveys (aligned with ResearchKit on iOS)
Stars: ✭ 68 (+277.78%)
Mutual labels:  flutter-plugin, flutter-widget, flutter-ui, flutter-package
swipedetector
A Flutter package to detect up, down, left, right swipes.
Stars: ✭ 34 (+88.89%)
Mutual labels:  flutter-plugin, flutter-apps, flutter-widget, flutter-package
buttons tabbar
A Flutter package that implements a TabBar where each label is a toggle button.
Stars: ✭ 49 (+172.22%)
Mutual labels:  button, flutter-widget, flutter-ui, flutter-package
flutter sliding tutorial
User onboarding library with smooth animation of objects and background colors
Stars: ✭ 127 (+605.56%)
Mutual labels:  flutter-plugin, flutter-widget, flutter-ui, flutter-package
seo renderer
A Flutter Web Plugin to display Text Widget as Html for SEO purpose
Stars: ✭ 103 (+472.22%)
Mutual labels:  flutter-plugin, flutter-widget, flutter-package
flutter-tunein
Dynamically themed Music Player built with flutter
Stars: ✭ 108 (+500%)
Mutual labels:  flutter-plugin, flutter-apps, flutter-ui
nepali date picker
Material Style Date Picker with Bikram Sambat(Nepali) Calendar Support. Supports both Android and ios.
Stars: ✭ 30 (+66.67%)
Mutual labels:  flutter-plugin, flutter-apps, flutter-package
Night-Mode-Button
Easy to use night mode button with cool animation
Stars: ✭ 74 (+311.11%)
Mutual labels:  button, button-widget, button-animation
Web Vuw
A Web View for flutter
Stars: ✭ 40 (+122.22%)
Mutual labels:  flutter-plugin, flutter-apps, flutter-widget
Gsy flutter demo
Flutter 不同于 GSYGithubAppFlutter 完整项目,本项目将逐步完善各种 Flutter 独立例子,方便新手学习上手和小问题方案解决。 目前开始逐步补全完善,主要提供一些有用或者有趣的例子,如果你也有好例子,欢迎提交 PR 。
Stars: ✭ 2,140 (+11788.89%)
Mutual labels:  flutter-plugin, flutter-widget, flutter-ui
Spotify-Clone-using-Flutter
Welcome to Flutter Day 1 to 30 — Building a Spotify Clone using Flutter
Stars: ✭ 48 (+166.67%)
Mutual labels:  flutter-apps, flutter-widget, flutter-ui
flutter easyloading
✨A clean and lightweight loading/toast widget for Flutter, easy to use without context, support iOS、Android and Web
Stars: ✭ 1,021 (+5572.22%)
Mutual labels:  flutter-plugin, flutter-widget, flutter-package
flip view
A Flutter app with flip animation to view profiles of friends. 🌟
Stars: ✭ 69 (+283.33%)
Mutual labels:  flutter-apps, flutter-widget, flutter-ui


Logo Liquid Button

Pub

Hi, Introducing Liquid Button for Flutter. It supports Web and Mobile, not tested on Ios. Inspired by Liquid Button in JS.

Preview

Live Demo

Download sample apk as shown in example from releases.

Get it from Github Releases

Experience Live Demo on (not on mobile) : https://iamsahdeep.github.io/liquid_button/#/

Getting Started

  • Add this to your pubspec.yaml

    dependencies:
    liquid_button: 1.0.0
    
    
  • Get the package from Pub:

    flutter packages get
    
  • Import it in your file

    import 'package:liquid_button/liquid_button.dart';
    

Example

  • Look for complete example in example folder.
  • Remember to wrap it with GestureDetector or InkWell, might include in next version.
                LiquidButton(
                  expandFactor: 20,
                  backgroundColor: Colors.black87,
                  height: 100,
                  child: Text(
                    "Liquid Button",
                    style: TextStyle(
                        fontSize: 30,
                        color: Colors.white,
                        fontWeight: FontWeight.bold),
                  ),
                  gradientColor: Colors.black54,
                  width: 400,
                ),

Attributes

Currently we have 3 buttons : RoundClothButton(poor naming :p), ClothButton and LiquidButton. Here are some of the attributes in which height,width and background color is the required. Rest can be left to have default values.

  • expandFactor : (double) Allows you to decide Expansion of the button while animating. Should be less than 50.
  • backgroundColor : (Color) Color of the button.
  • gradientColor : (Color) If you want gradient effect onHover, if not given no color effect will be there.
  • retainGradient : (bool) If you want to retain the gradient effect when mouse leaves the button area. Default is false.
  • gap : (int) Integer to provide gap between subsequent point while painting the line. Do experiment with it, Should not be greater that height/2.

Known Issues

  • Lag on Web - It generally happens when we are using multiple Liquid Buttons on same screen due to usage of MouseRegion.You might experience the same on the live demo also. Check this issue flutter/flutter#41194
  • Gesture not working on Web on Mobile - Need to work on it..
  • Note : Please report any kind of bugs you are experiencing.

Author & support

This project is created by Sahdeep Singh but with lots of support and help.

If you appreciate my work, consider buying me a cup of to keep me recharged 🤘

Or you can also endorse me on LinkedIn to keep me motivated.

I love my work and I'm available for freelance work. Contact me on my email: [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].