v0.5.1interactive_slider
一個受 Apple Music 中使用的滑塊元件啟發的、具有 Cupertino 風格的互動式連續滑塊小工具。
139喜歡 2700近 30 天下載160Pub 分數
AndroidiOSWebmacOSWindowsLinux
一個庫柏蒂諾主題的互動式連續滑塊元件。
以下為英文專案原文快照,最新內容請造訪 GitHub。
A continuous or segmented slider widget inspired by the volume slider in the Apple Music app. This widget can be used with little to no setup but is still fully customizable!
Use the stock slider or customize:
Add to your dependencies:
dependencies:
interactive_slider: ^0.5.0
Then import:
import 'package:interactive_slider/interactive_slider.dart';
InteractiveSlider(
startIcon: const Icon(CupertinoIcons.volume_down),
centerIcon: const Text('Center'),
endIcon: const Icon(CupertinoIcons.volume_up),
min: 1.0,
max: 15.0,
onChanged: (value) => setState(() => _value = value),
)
Please report any bugs and open any pull requests via GitHub.
依賴清單 3 項
{"sdk":"flutter"}{"sdk":"flutter"}^5.0.0先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗