smooth_scroll:Dart 库可在网页上实现平滑滚动效果

时间:2021-07-13 13:01:49
【文件属性】:
文件名称:smooth_scroll:Dart 库可在网页上实现平滑滚动效果
文件大小:4KB
文件格式:ZIP
更新时间:2021-07-13 13:01:49
dart Dart 平滑滚动 用于在网页上平滑滚动效果的 Dart 库。 用法 一个简单的使用示例: import 'dart:html' ; import 'package:smooth_scroll/smooth_scroll.dart' ; main () { new SmoothScroll ( '.button' ); } 更高级的解决方案: import 'dart:html' ; import 'package:smooth_scroll/smooth_scroll.dart' ; main () { new SmoothScroll ( '.button' , duration : 1500 , diff : - 50 ); } 使用动画库更改动画样式的解决方案: import 'dart:html' ; import 'package:smoo
【文件预览】:
smooth_scroll-master
----LICENSE(1KB)
----.gitignore(51B)
----pubspec.yaml(288B)
----lib()
--------src()
--------smooth_scroll.dart(264B)
----README.md(825B)

网友评论