Token导航 LogoToken导航TokenDH.com
待分类只读github未标认证来源可访问许可证需确认审计通过

syncfusion-flutter-sliderssyncfusion Flutter sliders 命令行

Agent Skill

syncfusion-flutter-sliders 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

649

周安装

26

GitHub Stars

1

下载量

210
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-flutter-sliders(syncfusion Flutter sliders 命令行)
来源仓库:https://github.com/syncfusion/flutter-ui-components-skills
仓库路径:skills/syncfusion-flutter-sliders
安装命令:
npx skills add https://github.com/syncfusion/flutter-ui-components-skills --skill syncfusion-flutter-sliders
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/flutter-ui-components-skills --skill syncfusion-flutter-sliders

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态或协作事项进行整理。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 安装前建议确认权限范围、维护状态及是否触发联网或文件读写操作。
  • syncfusion-flutter-sliders 属于待分类类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

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 RangeController for programmatic updates and chart integrations.

Key Differences Summary:

FeatureSfSliderSfRangeSliderSfRangeSelector
Primary purposeSingle valueTwo-thumb rangeRange with child (chart)
Value typevaluevalues (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

  • SfSlider and SfRangeSlider are typically controlled by parent state via value/values and onChanged.
  • SfRangeSelector can be driven via RangeController for 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 value
  • interval - Interval between divisions
  • stepSize - Step interval for discrete values
  • onChanged - Callback when value changes
  • onChangeStart - Callback when drag starts
  • onChangeEnd - Callback when drag ends
  • showLabels - Display labels at intervals
  • showTicks - Display tick marks
  • showDividers - Display dividers
  • enableTooltip - Enable tooltip on interaction
  • activeColor - Active track color
  • inactiveColor - Inactive track color
  • numberFormat - NumberFormat for numeric values
  • dateFormat - DateFormat for DateTime values
  • dateIntervalType - Interval type for dates (years, months, days, etc.)
  • labelFormatterCallback - Custom label formatting
  • tooltipTextFormatterCallback - Custom tooltip formatting
  • semanticFormatterCallback - 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 divisions
  • stepSize - Step interval for discrete values
  • onChanged - Callback when values change
  • onChangeStart - Callback when drag starts
  • onChangeEnd - Callback when drag ends
  • dragMode - Drag interaction mode (onDragStart, onThumb, betweenThumbs, both)
  • showLabels - Display labels at intervals
  • showTicks - Display tick marks
  • showDividers - Display dividers
  • enableTooltip - Enable tooltips on interaction
  • activeColor - Active track color (between thumbs)
  • inactiveColor - Inactive track color
  • numberFormat - NumberFormat for numeric values
  • dateFormat - DateFormat for DateTime values
  • dateIntervalType - Interval type for dates
  • labelFormatterCallback - Custom label formatting
  • tooltipTextFormatterCallback - Custom tooltip formatting
  • semanticFormatterCallback - 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 control
  • interval - Interval between divisions
  • stepSize - Step interval for discrete values
  • onChanged - Callback when values change (optional with controller)
  • onChangeStart - Callback when drag starts
  • onChangeEnd - Callback when drag ends
  • dragMode - Drag interaction mode (onDragStart, onThumb, betweenThumbs, both)
  • enableDeferredUpdate - Enable deferred updates for performance
  • deferredUpdateDelay - Delay for deferred updates
  • showLabels - Display labels at intervals
  • showTicks - Display tick marks
  • showDividers - Display dividers
  • enableTooltip - Enable tooltips on interaction
  • activeColor - Active track color (between thumbs)
  • inactiveColor - Inactive track color
  • child - Child widget (typically charts)
  • numberFormat - NumberFormat for numeric values
  • dateFormat - DateFormat for DateTime values
  • dateIntervalType - Interval type for dates
  • labelFormatterCallback - Custom label formatting
  • tooltipTextFormatterCallback - Custom tooltip formatting
  • semanticFormatterCallback - Accessibility label formatting
  • enableIntervalSelection - Enable selection by interval
  • showDivisors - Show region dividers

Common Use Cases

  1. Volume or brightness controls — SfSlider
  2. Date range filters — SfRangeSlider
  3. Chart zoom/segment selection — SfRangeSelector + chart integration
  4. Time-range pickers for analytics dashboards — SfRangeSelector
  5. Two-ended price range filter in product lists — SfRangeSlider

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.56%
按下载量换算75

Claude

28.96%
按下载量换算61

Cursor

17.15%
按下载量换算36

Gemini CLI

8.54%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills