v1.0.0number_selection
酷炫的数字选择器概念
22喜欢 43近 30 天下载130Pub 分数
AndroidiOSWebmacOSWindowsLinux
Flutter 数字选择包
以下为英文项目原文快照,最新内容请访问 GitHub。

import 'package:number_selection/number_selection.dart';
NumberSelection(
theme: NumberSelectionTheme(
draggableCircleColor: Colors.blue,
iconsColor: Colors.white,
numberColor: Colors.white,
backgroundColor: Colors.deepPurpleAccent,
outOfConstraintsColor: Colors.deepOrange),
initialValue: 1,
minValue: -10,
maxValue: 10,
direction: Axis.vertical,
withSpring: true,
onChanged: (int value) => print("value: $value"),
enableOnOutOfConstraintsAnimation: true,
onOutOfConstraints: () => print("This value is too high or too low"),
);
依赖清单 1 项
{"sdk":"flutter"}先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗