{"id":13465625,"url":"https://github.com/rvamsikrishna/flutter_fluid_slider","last_synced_at":"2026-02-22T00:01:41.355Z","repository":{"id":53329038,"uuid":"154952894","full_name":"rvamsikrishna/flutter_fluid_slider","owner":"rvamsikrishna","description":"A fluid design slider that works just like the Slider material widget.","archived":false,"fork":false,"pushed_at":"2022-01-03T08:07:11.000Z","size":74,"stargazers_count":324,"open_issues_count":12,"forks_count":46,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-23T02:48:56.154Z","etag":null,"topics":["fluid-slider","flutter","flutter-plugin","slider","widget"],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rvamsikrishna.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-27T10:43:32.000Z","updated_at":"2025-05-15T17:06:45.000Z","dependencies_parsed_at":"2022-08-13T02:31:08.825Z","dependency_job_id":null,"html_url":"https://github.com/rvamsikrishna/flutter_fluid_slider","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rvamsikrishna/flutter_fluid_slider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvamsikrishna%2Fflutter_fluid_slider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvamsikrishna%2Fflutter_fluid_slider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvamsikrishna%2Fflutter_fluid_slider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvamsikrishna%2Fflutter_fluid_slider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rvamsikrishna","download_url":"https://codeload.github.com/rvamsikrishna/flutter_fluid_slider/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvamsikrishna%2Fflutter_fluid_slider/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29699335,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T23:35:04.139Z","status":"ssl_error","status_checked_at":"2026-02-21T23:35:03.832Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fluid-slider","flutter","flutter-plugin","slider","widget"],"created_at":"2024-07-31T15:00:32.835Z","updated_at":"2026-02-22T00:01:39.272Z","avatar_url":"https://github.com/rvamsikrishna.png","language":"Dart","funding_links":[],"categories":["Components","组件","Flutter","UI [🔝](#readme)","Packages"],"sub_categories":["UI","Components"],"readme":"# Fluid Slider for Flutter\n\n\u003ca href=\"https://github.com/Solido/awesome-flutter\"\u003e\n   \u003cimg alt=\"Awesome Flutter\" src=\"https://img.shields.io/badge/Awesome-Flutter-blue.svg?longCache=true\u0026style=flat-square\" /\u003e\n\u003c/a\u003e\n\nInspired by a dribbble by [Virgil Pana](https://dribbble.com/virgilpana).\n\n![demo](https://i.imgur.com/34mAvRj.gif)\n\nA fluid design slider that works just like the [Slider](https://docs.flutter.io/flutter/material/Slider-class.html) material widget.\n\nUsed to select from a range of values.\n\n## Installation\n\nJust add the package to your dependencies in the `pubspec.yaml` file:\n\n```yaml\ndependencies:\n  flutter_fluid_slider: ^1.0.2\n```\n\n### Basic Usage\n\nPlace the `FluidSlider` in your widget tree.\n\n```dart\nFluidSlider(\n  value: _value,\n  onChanged: (double newValue) {\n    setState(() {\n      _value = newValue;\n    });\n  },\n  min: 0.0,\n  max: 100.0,\n),\n```\n\n### Properties\n\n- `value` : [**Required**] The currently selected value for this slider. The slider's thumb is drawn at a position that corresponds to this value.\n\n- `min` : The minimum value the user can select. Defaults to `0.0`. Must be less than or equal to `max`.\n\n- `max` : The maximum value the user can select. Defaults to `1.0`. Must be less than or equal to `min`.\n\n- `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.\n\n- `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.\n\n- `onChanged` : [**Required**] Called during a drag when the user is selecting a new value for the slider\n\n  by dragging.\n\n  - 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.\n\n  - If null, the slider will be displayed as disabled.\n\n- `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.\n\n- `onChangeEnd` : Called when the user is done selecting a new value for the slider.\n\n- `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.\n\n- `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 .\n\n- `sliderColor` : The color of the slider. If not provided the ancestor `Theme`'s `primaryColor` will be applied.\n\n- `thumbColor` : The color of the thumb. If not provided the `Colors.white` will be applied.\n\n- `showDecimalValue` : Whether to display the first decimal value of the slider value. Defaults to `false`.\n\n- `mapValueToString` : called with value for the String to be rendered in the slider's thumb.     E.g. display roman integers as follows:\n    ```dart\n    FluidSlider(\n      value:_val,\n      min:1.0,\n      max:5.0,\n      onChanged:(){},\n      mapValueToString: (double value){\n        List\u003cString\u003e romanNumerals=['I', 'II', 'III', 'IV', 'V'];\n        return _romanNumerals[value.toInt() - 1];\n      }\n    )\n    ```\n    See [example](https://github.com/rvamsikrishna/flutter_fluid_slider/blob/master/example/lib/main.dart#L82). If null the value is converted to String based on [showDecimalValue]. \n\n\n#### Credits:\n\n- [Ramotion](https://dribbble.com/shots/5343166-Fluid-Slider-Optimized-iOS-Control-Open-Source) - implementation for ios and android\n- [Virgil Pana](https://dribbble.com/virgilpana) - creating the original concept\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvamsikrishna%2Fflutter_fluid_slider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frvamsikrishna%2Fflutter_fluid_slider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvamsikrishna%2Fflutter_fluid_slider/lists"}