All Projects → rvamsikrishna → Flutter_fluid_slider

rvamsikrishna / Flutter_fluid_slider

Licence: mit
A fluid design slider that works just like the Slider material widget.

Programming Languages

dart
5743 projects

Projects that are alternatives of or similar to Flutter fluid slider

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 (+2.16%)
Mutual labels:  widget, flutter-plugin
range-slider
Customizable slider (range) component for JavaScript with no dependencies
Stars: ✭ 26 (-88.79%)
Mutual labels:  widget, slider
flutter easyloading
✨A clean and lightweight loading/toast widget for Flutter, easy to use without context, support iOS、Android and Web
Stars: ✭ 1,021 (+340.09%)
Mutual labels:  widget, flutter-plugin
wui
Collection of GUI widgets for the web
Stars: ✭ 44 (-81.03%)
Mutual labels:  widget, slider
Table calendar
Highly customizable, feature-packed Flutter Calendar with gestures, animations and multiple formats
Stars: ✭ 897 (+286.64%)
Mutual labels:  widget, flutter-plugin
MTCircularSlider
A feature-rich circular slider control written in Swift.
Stars: ✭ 118 (-49.14%)
Mutual labels:  widget, slider
react-color
🎨 Is a tiny color picker widget component for React apps.
Stars: ✭ 50 (-78.45%)
Mutual labels:  widget, slider
Widget
A set of widgets based on jQuery&&javascript. 一套基于jquery或javascript的插件库 :轮播、标签页、滚动条、下拉框、对话框、搜索提示、城市选择(城市三级联动)、日历等
Stars: ✭ 1,579 (+580.6%)
Mutual labels:  widget, slider
Flutter easyloading
✨A clean and lightweight loading/toast widget for Flutter, easy to use without context, support iOS、Android and Web
Stars: ✭ 455 (+96.12%)
Mutual labels:  widget, flutter-plugin
height-slider
A customisable height slider for Flutter.
Stars: ✭ 15 (-93.53%)
Mutual labels:  widget, slider
Flutter Unity View Widget
Embeddable unity game engine view for Flutter. Advance demo here https://github.com/juicycleff/flutter-unity-arkit-demo
Stars: ✭ 961 (+314.22%)
Mutual labels:  widget, flutter-plugin
Flutter app
🔥🔥🔥本项目包括各种基本控件使用(Text、TextField、Icon、Image、Listview、Gridview、Picker、Stepper、Dialog、Slider、Row、Appbar、Sizebox、BottomSheet、Chip、Dismissible、FlutterLogo、Check、Switch、TabBar、BottomNavigationBar、Sliver等)、豆瓣电影、tubitv、每日一文、和天气、百姓生活、随机诗词、联系人、句子迷、好奇心日报、有道精品课、高德定位、音乐播放器🎵、追书神器等板块
Stars: ✭ 2,140 (+822.41%)
Mutual labels:  widget, slider
Ion.rangeslider
jQuery only range slider
Stars: ✭ 2,494 (+975%)
Mutual labels:  slider
Rangetouch
A super tiny library to make `<input type='range'>` sliders work better on touch devices
Stars: ✭ 224 (-3.45%)
Mutual labels:  slider
Qhexedit2
Binary Editor for Qt
Stars: ✭ 218 (-6.03%)
Mutual labels:  widget
Flutter rating bar
A simple ratingbar for flutter which also include a rating bar indicator, supporting any fraction of rating.
Stars: ✭ 211 (-9.05%)
Mutual labels:  flutter-plugin
Toolbarindicator
A toolbar indicator for android, likes twitter's.
Stars: ✭ 227 (-2.16%)
Mutual labels:  widget
Titan
Create Discord server widgets for websites of all sizes! A simple to setup process for end-users. Server members may view or send messages into an embedded Discord channel.
Stars: ✭ 221 (-4.74%)
Mutual labels:  widget
Slip
Slip.js — UI library for manipulating lists via swipe and drag gestures
Stars: ✭ 2,421 (+943.53%)
Mutual labels:  widget
Flutter plugin record
flutter 仿微信录制语音功能 支持android和ios
Stars: ✭ 214 (-7.76%)
Mutual labels:  flutter-plugin

Fluid Slider for Flutter

Awesome Flutter

Inspired by a dribbble by Virgil Pana.

enter image description here

A fluid design slider that works just like the Slider material widget.

Used to select from a range of values.

Installation

Just add the package to your dependencies in the pubspec.yaml file:

dependencies:
  flutter_fluid_slider: ^1.0.2

Basic Usage

Place the FluidSlider in your widget tree.

FluidSlider(
  value: _value,
  onChanged: (double newValue) {
    setState(() {
      _value = newValue;
    });
  },
  min: 0.0,
  max: 100.0,
),

Properties

  • value : [Required] The currently selected value for this slider. The slider's thumb is drawn at a position that corresponds to this value.

  • min : The minimum value the user can select. Defaults to 0.0. Must be less than or equal to max.

  • max : The maximum value the user can select. Defaults to 1.0. Must be less than or equal to min.

  • start : The widget to be displayed as the min label. For eg: an Icon can be displayed. If not provided the min value is displayed as text.

  • end : The widget to be displayed as the max label. For eg: an Icon can be displayed. If not provided the max value is displayed as text.

  • onChanged : [Required] Called during a drag when the user is selecting a new value for the slider

    by dragging.

    • The slider passes the new value to the callback but does not actually change state until the parent widget rebuilds the slider with the new value.

    • If null, the slider will be displayed as disabled.

  • onChangeStart : Called when the user starts selecting a new value for the slider. The value passed will be the last value that the slider had before the change began.

  • onChangeEnd : Called when the user is done selecting a new value for the slider.

  • labelsTextStyle : The styling of the min and max text that gets displayed on the slider. If not provided the ancestor Theme's accentTextTheme text style will be applied.

  • valueTextStyle : The styling of the current value text that gets displayed on the slider. If not provided the ancestor Theme's textTheme.title text style with bold will be applied .

  • sliderColor : The color of the slider. If not provided the ancestor Theme's primaryColor will be applied.

  • thumbColor : The color of the thumb. If not provided the Colors.white will be applied.

  • showDecimalValue : Whether to display the first decimal value of the slider value. Defaults to false.

  • mapValueToString : called with value for the String to be rendered in the slider's thumb. E.g. display roman integers as follows:

    FluidSlider(
      value:_val,
      min:1.0,
      max:5.0,
      onChanged:(){},
      mapValueToString: (double value){
        List<String> romanNumerals=['I', 'II', 'III', 'IV', 'V'];
        return _romanNumerals[value.toInt() - 1];
      }
    )
    

    See example. If null the value is converted to String based on [showDecimalValue].

Credits:

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].