Slider controller - A package that gives us a slider controller a custom widget. This widget is used for easy customization for the slider widget

Overview

slider_controller

Flutter Website Dart Website MIT License

A package that gives us a slider controller a custom widget. This widget is used for easy customization for the slider widget.

Key Features

  • Ready to use custom slider widget.
  • Easy customization for the slider widget.

Preview

slider_controller

Basic Usage

Import it to your project file

import 'package:slider_controller/slider_controller.dart';

And add it in its most basic form like it:

SliderController(
  value: 50.0,
  onChanged: (value) {
    print('slider value : $value');
  },
);

Required parameters of SliderController


Parameter Description
double value Indicates the default slider thumb value between the 0.0 to 100.0
ValueChanged onChanged Called during a drag when the user is selecting a new value for the slider by dragging

Optional parameters of SliderController


Parameter Default Description
SliderDecoration sliderDecoration -- Used to Decorate the Slider Widget

Optional parameters of SliderDecoration


Parameter Default Description
Color inactiveColor Colors.blueGrey Defines the background color of the inactive part of the slider
Color activeColor Colors.blue Defines the background color of the active part of the slider
Color thumbColor Colors.white Defines the thumb color of the slider
double borderRadius 20.0 Indicates the rounded border radius for the slider
double height 50.0 Indicates the height of the slider
bool isThumbVisible true Indicates that slider thumb is visible or not
double thumbHeight 25.0 Indicates the height of the slider thumb
double thumbWidth 5.0 Indicates the width of the slider thumb

Guideline for contributors


  • Contribution towards our repository is always welcome, we request contributors to create a pull request for development.

Guideline to report an issue/feature request


It would be great for us if the reporter can share the below things to understand the root cause of the issue.

  • Library version
  • Code snippet
  • Logs if applicable
  • Device specification like (Manufacturer, OS version, etc)
  • Screenshot/video with steps to reproduce the issue
  • Library used

LICENSE!

slider_controller is MIT-licensed.

Let us know!

We’d be really happy if you send us links to your projects where you use our component. Just send an email to [email protected] And do let us know if you have any questions or suggestion regarding our work.

You might also like...

A Flutter step_tracker plugin is collect information from user and display progress through a sequence of steps. this plugin also have privilege for fully customization from user side. like flipkart, amazon, myntra, meesho.

A Flutter step_tracker plugin is collect information from user and display progress through a sequence of steps. this plugin also have privilege for fully customization from user side. like flipkart, amazon, myntra, meesho.

step_tracker plugin A Flutter step_tracker plugin is collect information from user and display progress through a sequence of steps. this plugin also

Oct 21, 2022

A simple button that gives you the possibility to transform into a circular one and shows a progress indicator

A simple button that gives you the possibility to transform into a circular one and shows a progress indicator

Progress Button A simple button that gives you the possibility to transform into

Dec 22, 2021

ITS A SIMPLE CRYPTO APP THAT GIVES OR DISPLAYS PRICES - %CHANGE AND CHANGE VALUE OF TICKER (VARIOUS CRYPTO ASSERTS)

btcpricetracker A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started

Dec 28, 2021

A flutter app that gives you affirmation you daily need by saying "I am Freaking rich!"

A flutter app that gives you affirmation you daily need by saying

A very basic flutter app that gives you affirmation you daily need by saying "I am Freaking rich!" πŸ“‘ What’s In This Document Get Up and Running in 5

Feb 15, 2022

Its a simple app which gives Weather Update, Bit Coin Value Comparator, and Flash Chat Application

Its a simple app which gives Weather Update, Bit Coin Value Comparator, and Flash Chat Application

Bundle_App_MajorProject Description : Its a simple app which is a bundle of Weather Update App, Bit Coin Value Comparator App, and Flash Chat Applicat

Sep 9, 2022

Flutter package that provides you custom clippers to help you achieve various custom shapes.

Flutter package that provides you custom clippers to help you achieve various custom shapes.

flutter_custom_clippers Flutter package that provides you custom clippers to help you achieve various custom shapes. Usage To use this plugin, add flu

Dec 23, 2022

FT-Custom-Widget - A Custom Widget Built With Flutter

FT-Custom-Widget - A Custom Widget Built With Flutter

Custom Widget Watch it on YouTube Product Screen Sample when you implement compl

Mar 29, 2022

Flutter control system widgets, like on-off controller.

control_system Flutter control system widgets, like on-off controller. Introduction A control system manages, commands, directs, or regulates the beha

Jan 9, 2022
Comments
  • readOnly or enabled property

    readOnly or enabled property

    I'm using this package and i need a readOnly or enabled. For this solution i call onChange: () => null, but sometimes detect mi horizontaDrag and change the color of the RatingBox. Could be better to update the package for a enabled or readOnly? or another solution?

    This video it's a comparation between a null and changed , the null shouldn't show the active bar Color.

    https://user-images.githubusercontent.com/106313333/176152789-72b376d7-3e58-454a-9bac-b0db8c0ba6d0.mp4

    opened by tonagy 2
  • Added onChangeDone , triggered on scroll end.

    Added onChangeDone , triggered on scroll end.

    Hello πŸ‘‹

    I just added a onChangeDone Function to slider_controller to allow a developer to only trigger a API call when the user is done setting the widget value.

    Nothing fancy but here it is πŸ€·β€β™‚οΈ

    Have a nice day πŸ‘

    opened by justbendev 0
Owner
MindInventory
MindInventory works with Enterprises, Startups, and Agencies since 2011 providing web, mobile app development, enterprise mobility solutions & DevOps services.
MindInventory
Flutter custom carousel slider - A carousel slider widget,support custom decoration suitable for news and blog

flutter_custom_carousel_slider A carousel slider Flutter widget, supports custom

Emre 40 Dec 29, 2022
A customizable carousel slider widget in Flutter which supports inifinte scrolling, auto scrolling, custom child widget, custom animations and built-in indicators.

flutter_carousel_widget A customizable carousel slider widget in Flutter. Features Infinite Scroll Custom Child Widget Auto Play Horizontal and Vertic

NIKHIL RAJPUT 7 Nov 26, 2022
A customizable carousel slider for Flutter. Supports infinite sliding, custom indicators, and custom animations with many pre-built indicators and animations.

Flutter Carousel Slider A customizable carousel slider for flutter Screenshots Installing dependencies: flutter_carousel_slider: ^1.0.8 Demo Demo a

Udara Wanasinghe 23 Nov 6, 2022
πŸ”₯πŸš€ Flutter package to create Pin code input text field with every pixel customization possibility 🎨 with beautiful animations

Flutter PinPut From Tornike ?? ?? Flutter package to create Pin code input (OTP) text field with every pixel customization possibility ?? and beautifu

Tornike 451 Jan 2, 2023
This package supports an animated icon with some customization.

animated_icon This package supports an animated icon with some customization. It includes an icon type, animation as well as onTap() parameters throug

MindInventory 12 Dec 23, 2022
This package gives you lock screen or pass code page

Flutter Pass Code Page or Pin Code Page Package This package gives you beautiful pass code page for using both android and ios. Demo Finger Print Usag

Yasin ilhan 61 Aug 22, 2022
Widget that gives you the size of the widget in runtime.

Tailor Flutter widget that calculates the size of a widget in runtime. Usage Just wrap your widget with Tailor and get the size in the builder. The bu

Aman Gupta 7 Nov 2, 2022
A counter widget for flutter that support different kinds of customization.

Customizable Counter A counter widget that support different kinds of customization. Installation From pubspec.yaml Add the following line to pubspec.

Md. Imam Hossain 2 Sep 6, 2022
Following Along with a tutorial and adding differing customization to learn Dart and Flutter

flutter_ss_portfolio A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you sta

Midnight 0 Nov 28, 2021
A UI library for easily adding audio waveforms to your apps, with several customization options

A UI library for easily adding audio waveforms to your apps, with several custom

RutvikTak 64 Dec 11, 2022