
syncfusion-flutter-sliders
Implements Syncfusion Flutter Slider controls (SfSlider, SfRangeSlider, SfRangeSelector) for numeric value selection and range inputs. Use when working with single-value sliders, range selection, or chart-range controllers in Flutter apps. This skill covers thumb and tooltip customization, ticks, dividers, RTL support, drag modes, and chart integrations.
- Installs
- 52
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/syncfusion/flutter-ui-components-skills --skill syncfusion-flutter-sliders- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads syncfusion-flutter-sliders automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Syncfusion Flutter Slider Controls
This skill groups three related Syncfusion Flutter components for value selection and range interaction: SfSlider (single value), SfRangeSlider (two-thumb range), and SfRangeSelector (range selector with child content such as charts). They share many visual and configuration features but have distinct responsibilities and integration patterns.
When to Use This Skill
Use this skill when you need to:
- Select a single numeric or date value in a compact UI (use
SfSlider). - Select a start/end range with two thumbs (use
SfRangeSlider). - Select a range that drives another widget (chart zoom/selection) or shows child content (use
SfRangeSelector). - Customize visual track, ticks, labels, thumbs, or tooltips across slider controls.
- Integrate slider range with charts for selection or zooming.
- Support RTL, accessibility, and keyboard navigation for slider controls.
Choosing the Right Component
Use SfSlider when:
- You need a single value picker (volume, progress percentage, timeline scrubber).
- Simplicity and small surface area are required.
Use SfRangeSlider when:
- You need the user to pick a numeric/date interval with two thumbs.
- You need drag modes that control thumb behavior (onThumb, betweenThumbs, both).
Use SfRangeSelector when:
- You need a range control that contains or controls a child widget (commonly charts).
- You require a
RangeControllerfor programmatic updates and chart integrations.
Key Differences Summary:
| Feature | SfSlider | SfRangeSlider | SfRangeSelector |
|---|---|---|---|
| Primary purpose | Single value | Two-thumb range | Range with child (chart) |
| Value type | value | values (SfRangeValues) | initialValues / controller |
| Child content | ❌ | ❌ | ✅ (any widget, often charts) |
| Controller support | ❌ | ❌ | ✅ (RangeController) |
| Drag modes | — | ✅ (dragMode) | ✅ (dragMode) |
| Deferred updates | ❌ | ❌ | ✅ (enableDeferredUpdate) |
Documentation and Navigation Guide
Getting Started
📄 Read: references/getting-started.md
- Installation and package setup for all three slider controls
- Basic SfSlider implementation (horizontal and vertical)
- Basic SfRangeSlider implementation
- Basic SfRangeSelector implementation with chart integration
- Package dependencies and imports
- Quick comparison and first examples
- Numeric and date-based slider examples
Component Overview
📄 For Slider: references/slider-overview.md
- SfSlider widget overview and features
- When to use single-value slider vs range controls
- Numeric and date value support
- Horizontal and vertical orientations
- Slider-specific capabilities
- Basic slider configuration
📄 For Range Slider: references/range-slider-overview.md
- SfRangeSlider widget overview and features
- When to use Range Slider vs Range Selector
- SfRangeValues class for start/end values
- Introduction to drag modes
- Active and inactive track regions
- Range slider-specific examples
📄 For Range Selector: references/range-selector-overview.md
- SfRangeSelector widget overview and features
- When to use Range Selector for chart integration
- Child widget support (charts, graphs, custom content)
- RangeController introduction
- Difference between initialValues and controller
- Deferred updates pattern
- Chart integration patterns
Value Configuration
📄 Read: references/values-and-intervals.md
- Minimum and maximum value configuration
- Value types (double, DateTime) for each widget
- Interval configuration and step values
- Numeric ranges with custom formatting
- Date and DateTime ranges
- DateIntervalType configuration
- NumberFormat and DateFormat usage
- Value constraints and validation
Visual Customization
📄 Read: references/track-and-shapes.md
- Active and inactive track colors
- Track height and thickness customization
- Track corners and shapes
- Custom track styling patterns
- Region colors for RangeSelector
- Track appearance across all three widgets
📄 Read: references/ticks-and-dividers.md
- Enabling and configuring tick marks
- Major ticks configuration
- Minor ticks and intervals
- Divider configuration
- Tick and divider styling
- Complete examples for all three widgets
📄 Read: references/labels-and-formatting.md
- Showing and positioning labels
- NumberFormat for numeric values (currency, percentage, compact)
- DateFormat for date values (various patterns)
- Custom label formatting with labelFormatterCallback
- Label text styling
- Label offset and positioning
- Edge label visibility
📄 Read: references/thumbs-tooltips-overlay.md
- Thumb size, color, and customization
- Thumb icons and custom widgets
- Thumb stroke (border) configuration
- Overlay (ripple) configuration
- Enabling and configuring tooltips
- Tooltip shapes (rectangular, paddle)
- Tooltip text formatting
- Always-visible tooltip option
Advanced Features
📄 Read: references/drag-modes.md
- Drag mode functionality (RangeSlider and RangeSelector only)
- SliderDragMode.onThumb explanation
- SliderDragMode.betweenThumbs explanation
- SliderDragMode.both explanation
- Choosing the right drag mode
- Use cases and examples for each mode
📄 Read: references/range-controller.md
- RangeController overview (RangeSelector only)
- When to use RangeController
- Creating and disposing controllers
- Deferred updates for performance
- Programmatic range updates
- Listening to range changes
- Chart integration with controller
- Controller vs initialValues comparison
- Advanced patterns (apply button, synchronized selectors)
Event Handling
📄 Read: references/callbacks-and-events.md
- onChanged callback (continuous updates)
- onChangeStart callback (interaction start)
- onChangeEnd callback (interaction complete)
- Complete lifecycle examples
- Validation and constraints in callbacks
- Async operations and debouncing
- Event handling patterns
- Best practices for callback usage
Accessibility and States
📄 Read: references/accessibility-and-states.md
- Accessibility overview and importance
- Semantic labels for screen readers
- Enabled and disabled states
- Keyboard navigation support
- Screen reader support (VoiceOver, TalkBack)
- Right-to-Left (RTL) language support
- WCAG compliance guidelines
- Color contrast considerations
- Touch target sizing
- Testing accessibility features
Quick Start Examples
SfSlider — Basic single-value slider
double _value = 40.0;
SfSlider(
min: 0.0,
max: 100.0,
value: _value,
interval: 20,
showLabels: true,
onChanged: (dynamic newValue) {
setState(() { _value = newValue; });
},
)
SfRangeSlider — Basic range
SfRangeValues _values = const SfRangeValues(40.0, 60.0);
SfRangeSlider(
min: 0.0,
max: 100.0,
values: _values,
interval: 20,
showLabels: true,
onChanged: (SfRangeValues newValues) {
setState(() { _values = newValues; });
},
)
SfRangeSelector — Range with chart child and controller
final SfRangeValues _initial = SfRangeValues(0.3, 0.7);
RangeController _controller = RangeController(start: 0.3, end: 0.7);
SfRangeSelector(
min: 0,
max: 1,
initialValues: _initial,
controller: _controller,
child: SizedBox(height: 130, child: SfCartesianChart(...)),
)
Common Patterns
Pattern 1: Choose widget by need
- Single value →
SfSlider - Range selection →
SfRangeSlider - Range controlling chart/child →
SfRangeSelector
Pattern 2: Controlled vs Uncontrolled
SfSliderandSfRangeSliderare typically controlled by parent state viavalue/valuesandonChanged.SfRangeSelectorcan be driven viaRangeControllerfor programmatic updates and chart integrations.
Key Properties
SfSlider Essential Properties
min- Minimum value (double or DateTime)max- Maximum value (double or DateTime)value- Current slider valueinterval- Interval between divisionsstepSize- Step interval for discrete valuesonChanged- Callback when value changesonChangeStart- Callback when drag startsonChangeEnd- Callback when drag endsshowLabels- Display labels at intervalsshowTicks- Display tick marksshowDividers- Display dividersenableTooltip- Enable tooltip on interactionactiveColor- Active track colorinactiveColor- Inactive track colornumberFormat- NumberFormat for numeric valuesdateFormat- DateFormat for DateTime valuesdateIntervalType- Interval type for dates (years, months, days, etc.)labelFormatterCallback- Custom label formattingtooltipTextFormatterCallback- Custom tooltip formattingsemanticFormatterCallback- Accessibility label formatting
SfRangeSlider Essential Properties
min- Minimum value (double or DateTime)max- Maximum value (double or DateTime)values- Current range values (SfRangeValues with start and end)interval- Interval between divisionsstepSize- Step interval for discrete valuesonChanged- Callback when values changeonChangeStart- Callback when drag startsonChangeEnd- Callback when drag endsdragMode- Drag interaction mode (onDragStart, onThumb, betweenThumbs, both)showLabels- Display labels at intervalsshowTicks- Display tick marksshowDividers- Display dividersenableTooltip- Enable tooltips on interactionactiveColor- Active track color (between thumbs)inactiveColor- Inactive track colornumberFormat- NumberFormat for numeric valuesdateFormat- DateFormat for DateTime valuesdateIntervalType- Interval type for dateslabelFormatterCallback- Custom label formattingtooltipTextFormatterCallback- Custom tooltip formattingsemanticFormatterCallback- Accessibility label formatting
SfRangeSelector Essential Properties
min- Minimum value (double or DateTime)max- Maximum value (double or DateTime)initialValues- Initial range values (SfRangeValues)controller- RangeController for programmatic controlinterval- Interval between divisionsstepSize- Step interval for discrete valuesonChanged- Callback when values change (optional with controller)onChangeStart- Callback when drag startsonChangeEnd- Callback when drag endsdragMode- Drag interaction mode (onDragStart, onThumb, betweenThumbs, both)enableDeferredUpdate- Enable deferred updates for performancedeferredUpdateDelay- Delay for deferred updatesshowLabels- Display labels at intervalsshowTicks- Display tick marksshowDividers- Display dividersenableTooltip- Enable tooltips on interactionactiveColor- Active track color (between thumbs)inactiveColor- Inactive track colorchild- Child widget (typically charts)numberFormat- NumberFormat for numeric valuesdateFormat- DateFormat for DateTime valuesdateIntervalType- Interval type for dateslabelFormatterCallback- Custom label formattingtooltipTextFormatterCallback- Custom tooltip formattingsemanticFormatterCallback- Accessibility label formattingenableIntervalSelection- Enable selection by intervalshowDivisors- Show region dividers
Common Use Cases
- Volume or brightness controls —
SfSlider - Date range filters —
SfRangeSlider - Chart zoom/segment selection —
SfRangeSelector+ chart integration - Time-range pickers for analytics dashboards —
SfRangeSelector - Two-ended price range filter in product lists —
SfRangeSlider
FAQ
What does the syncfusion-flutter-sliders skill do?
Implements Syncfusion Flutter Slider controls (SfSlider, SfRangeSlider, SfRangeSelector) for numeric value selection and range inputs. Use when working with single-value sliders, range selection, or chart-range controllers in Flutter apps. This skill covers thumb and tooltip customization, ticks, dividers, RTL support, drag modes, and chart integrations.
How do I install syncfusion-flutter-sliders?
Run npx skills add https://github.com/syncfusion/flutter-ui-components-skills --skill syncfusion-flutter-sliders in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/syncfusion-flutter-sliders/ (personal) or .claude/skills/syncfusion-flutter-sliders/ (project).
Which AI agents can use syncfusion-flutter-sliders?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is syncfusion-flutter-sliders safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains syncfusion-flutter-sliders?
It is published by syncfusion in syncfusion/flutter-ui-components-skills. It has 52 recorded installs.
More from syncfusion/flutter-ui-components-skills
syncfusion-flutter-calendar-datepicker
syncfusion/flutter-ui-components-skills
Open the skill to read its SKILL.md instructions.
syncfusion-flutter-cartesian-charts
syncfusion/flutter-ui-components-skills
Open the skill to read its SKILL.md instructions.
syncfusion-flutter-datagrid
syncfusion/flutter-ui-components-skills
Implements Syncfusion Flutter DataGrid (SfDataGrid) for displaying and manipulating tabular data in Flutter applications. Use when working with data grids, data tables, or column-based data presentation using the syncfusionflutterdatagrid package. This skill covers DataGridSource, GridColumn configuration, sorting, filtering, paging, editing, and selection.
syncfusion-flutter-chat
syncfusion/flutter-ui-components-skills
Implements Syncfusion Flutter Chat (SfChat) and AI AssistView (SfAIAssistView) widgets for conversational interfaces in Flutter apps. Use when building chat UIs, AI chatbot interfaces, or messaging screens with support for message bubbles, composers, and action buttons. This skill covers conversation area customization, placeholder screens, theming, RTL support, and AI assistant integration.
syncfusion-flutter-circular-charts
syncfusion/flutter-ui-components-skills
Open the skill to read its SKILL.md instructions.
syncfusion-flutter-gauges
syncfusion/flutter-ui-components-skills
Open the skill to read its SKILL.md instructions.
Popular mobile skills
design-mobile-apps
designed-by-ai/skills
Design mobile app screens with Sleek, edit Sleek projects, and implement their designs in React Native or HTML.
ios-design
uizze.sh
Design and review iOS UI/UX for iPhone apps in SwiftUI, UIKit, or React Native. Use for mobile app design, screen redesigns, navigation flows, typography, forms, keyboard and safe-area layout, and accessibility checks. Apply Apple Human Interface Guidelines and consult real product references through the optional Uizze connection.
vercel-react-native-skills
vercel-labs/agent-skills
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
animate-expo
emilkowalski/skills
Build animations in React Native and Expo, making the decisions in the order that determines whether they feel right — should it animate, which thread it runs on, which properties, spring or timing, how the gesture hands off, how it degrades. Writes the implementation with Reanimated, Gesture Handler, Expo Router and expo-haptics. Use when animating anything in an Expo app, adding gestures, sheets, screen transitions, press feedback or haptics, or fixing motion that stutters on device. For web animation use animate.
xcode-project-setup
firebase/agent-skills
Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).
firebase-remote-config-basics
firebase/agent-skills
Manages Firebase Remote Config templates, feature flags, loading strategies, and SDKs (Android, iOS). Use when downloading/deploying remoteconfig JSON templates, managing version history/feature flags, setting in-app defaults, fetchAndActivate(), real-time listeners, or SDK setup. Don't use for Firebase Hosting, Auth, Firestore, Data Connect, Crashlytics, or App Hosting.