首页 星云 工具 资源 星选 资讯 热门工具
:

PDF转图片 完全免费 小红书视频下载 无水印 抖音视频下载 无水印 数字星空

Flutter 百分比指示器库

移动开发 1.41MB 33 需要积分: 1
立即下载

资源介绍:

Flutter 百分比指示器库
# Percent Indicator [![pub package](https://img.shields.io/pub/v/percent_indicator.svg)](https://pub.dev/packages/percent_indicator) Circular and Linear percent indicators

drawing drawing

## Features - Circle percent indicator - Linear percent indicator - Toggle animation - Custom duration of the animation - Progress based on a percentage value - Progress and background color - Custom size - Left , right or center child for Linear percent indicator - Top, bottom or center child for Circular percent indicator - Progress Color using gradients ## Getting started You should ensure that you add the router as a dependency in your flutter project. ```yaml dependencies: percent_indicator: ^4.0.1 ``` You should then run `flutter packages upgrade` or update your packages in IntelliJ. ## Example Project There is a example project in the `example` folder. Check it out. Otherwise, keep reading to get up and running. ## Usage Need to include the import the package to the dart file where it will be used, use the below command, ```dart import 'package:percent_indicator/percent_indicator.dart'; ``` **Circular percent indicator** Basic Widget ```dart new CircularPercentIndicator( radius: 60.0, lineWidth: 5.0, percent: 1.0, center: new Text("100%"), progressColor: Colors.green, ) ``` Complete example ```dart @override Widget build(BuildContext context) { return Scaffold( appBar: new AppBar( title: new Text("Circular Percent Indicators"), ), body: Center( child: ListView( children: [ new CircularPercentIndicator( radius: 100.0, lineWidth: 10.0, percent: 0.8, header: new Text("Icon header"), center: new Icon( Icons.person_pin, size: 50.0, color: Colors.blue, ), backgroundColor: Colors.grey, progressColor: Colors.blue, ), new CircularPercentIndicator( radius: 130.0, animation: true, animationDuration: 1200, lineWidth: 15.0, percent: 0.4, center: new Text( "40 hours", style: new TextStyle(fontWeight: FontWeight.bold, fontSize: 20.0), ), circularStrokeCap: CircularStrokeCap.butt, backgroundColor: Colors.yellow, progressColor: Colors.red, ), new CircularPercentIndicator( radius: 120.0, lineWidth: 13.0, animation: true, percent: 0.7, center: new Text( "70.0%", style: new TextStyle(fontWeight: FontWeight.bold, fontSize: 20.0), ), footer: new Text( "Sales this week", style: new TextStyle(fontWeight: FontWeight.bold, fontSize: 17.0), ), circularStrokeCap: CircularStrokeCap.round, progressColor: Colors.purple, ), Padding( padding: EdgeInsets.all(15.0), child: new CircularPercentIndicator( radius: 60.0, lineWidth: 5.0, percent: 1.0, center: new Text("100%"), progressColor: Colors.green, ), ), Container( padding: EdgeInsets.all(15.0), child: new Row( mainAxisAlignment: MainAxisAlignment.center, children: [ new CircularPercentIndicator( radius: 45.0, lineWidth: 4.0, percent: 0.10, center: new Text("10%"), progressColor: Colors.red, ), new Padding( padding: EdgeInsets.symmetric(horizontal: 10.0), ), new CircularPercentIndicator( radius: 45.0, lineWidth: 4.0, percent: 0.30, center: new Text("30%"), progressColor: Colors.orange, ), new Padding( padding: EdgeInsets.symmetric(horizontal: 10.0), ), new CircularPercentIndicator( radius: 45.0, lineWidth: 4.0, percent: 0.60, center: new Text("60%"), progressColor: Colors.yellow, ), new Padding( padding: EdgeInsets.symmetric(horizontal: 10.0), ), new CircularPercentIndicator( radius: 45.0, lineWidth: 4.0, percent: 0.90, center: new Text("90%"), progressColor: Colors.green, ) ], ), ) ]), ), ); } ```

**Linear percent indicator** Basic Widget ```dart new LinearPercentIndicator( width: 140.0, lineHeight: 14.0, percent: 0.5, backgroundColor: Colors.grey, progressColor: Colors.blue, ), ``` Complete example ```dart @override Widget build(BuildContext context) { return Scaffold( appBar: new AppBar( title: new Text("Linear Percent Indicators"), ), body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ Padding( padding: EdgeInsets.all(15.0), child: new LinearPercentIndicator( width: 140.0, lineHeight: 14.0, percent: 0.5, center: Text( "50.0%", style: new TextStyle(fontSize: 12.0), ), trailing: Icon(Icons.mood), linearStrokeCap: LinearStrokeCap.roundAll, backgroundColor: Colors.grey, progressColor: Colors.blue, ), ), Padding( padding: EdgeInsets.all(15.0), child: new LinearPercentIndicator( width: 170.0, animation: true, animationDuration: 1000, lineHeight: 20.0, leading: new Text("left content"), trailing: new Text("right content"), percent: 0.2, center: Text("20.0%"), linearStrokeCap: LinearStrokeCap.butt, progressColor: Colors.red, ), ), Padding( padding: EdgeInsets.all(15.0), child: new LinearPercentIndicator( width: MediaQuery.of(context).size.width - 50, animation: true, lineHeight: 20.0, animationDuration: 2000, percent: 0.9, center: Text("90.0%"), linearStrokeCap: LinearStrokeCap.roundAll, progressColor: Colors.greenAccent,

资源文件列表:

flutter_percent_indicator-master.zip 大约有123个文件
  1. flutter_percent_indicator-master/
  2. flutter_percent_indicator-master/.github/
  3. flutter_percent_indicator-master/.github/workflows/
  4. flutter_percent_indicator-master/.github/workflows/master.yml 414B
  5. flutter_percent_indicator-master/.github/workflows/release.yml 2.29KB
  6. flutter_percent_indicator-master/.gitignore 427B
  7. flutter_percent_indicator-master/.pubignore 427B
  8. flutter_percent_indicator-master/CHANGELOG.md 3.3KB
  9. flutter_percent_indicator-master/LICENSE 1.29KB
  10. flutter_percent_indicator-master/README.md 9.37KB
  11. flutter_percent_indicator-master/analysis_options.yaml 370B
  12. flutter_percent_indicator-master/art/
  13. flutter_percent_indicator-master/art/screen1.png 148.56KB
  14. flutter_percent_indicator-master/art/screen2.png 106.53KB
  15. flutter_percent_indicator-master/example/
  16. flutter_percent_indicator-master/example/.gitignore 73B
  17. flutter_percent_indicator-master/example/.metadata 284B
  18. flutter_percent_indicator-master/example/.pubignore 134B
  19. flutter_percent_indicator-master/example/android/
  20. flutter_percent_indicator-master/example/android/.gitignore 136B
  21. flutter_percent_indicator-master/example/android/app/
  22. flutter_percent_indicator-master/example/android/app/build.gradle 1.5KB
  23. flutter_percent_indicator-master/example/android/app/src/
  24. flutter_percent_indicator-master/example/android/app/src/main/
  25. flutter_percent_indicator-master/example/android/app/src/main/AndroidManifest.xml 2.05KB
  26. flutter_percent_indicator-master/example/android/app/src/main/java/
  27. flutter_percent_indicator-master/example/android/app/src/main/java/com/
  28. flutter_percent_indicator-master/example/android/app/src/main/java/com/example/
  29. flutter_percent_indicator-master/example/android/app/src/main/java/com/example/percentindicatorexample/
  30. flutter_percent_indicator-master/example/android/app/src/main/java/com/example/percentindicatorexample/MainActivity.java 157B
  31. flutter_percent_indicator-master/example/android/app/src/main/res/
  32. flutter_percent_indicator-master/example/android/app/src/main/res/drawable/
  33. flutter_percent_indicator-master/example/android/app/src/main/res/drawable/launch_background.xml 434B
  34. flutter_percent_indicator-master/example/android/app/src/main/res/mipmap-hdpi/
  35. flutter_percent_indicator-master/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png 544B
  36. flutter_percent_indicator-master/example/android/app/src/main/res/mipmap-mdpi/
  37. flutter_percent_indicator-master/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png 442B
  38. flutter_percent_indicator-master/example/android/app/src/main/res/mipmap-xhdpi/
  39. flutter_percent_indicator-master/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png 721B
  40. flutter_percent_indicator-master/example/android/app/src/main/res/mipmap-xxhdpi/
  41. flutter_percent_indicator-master/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png 1.01KB
  42. flutter_percent_indicator-master/example/android/app/src/main/res/mipmap-xxxhdpi/
  43. flutter_percent_indicator-master/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png 1.41KB
  44. flutter_percent_indicator-master/example/android/app/src/main/res/values/
  45. flutter_percent_indicator-master/example/android/app/src/main/res/values/styles.xml 361B
  46. flutter_percent_indicator-master/example/android/build.gradle 480B
  47. flutter_percent_indicator-master/example/android/gradle.properties 104B
  48. flutter_percent_indicator-master/example/android/gradle/
  49. flutter_percent_indicator-master/example/android/gradle/wrapper/
  50. flutter_percent_indicator-master/example/android/gradle/wrapper/gradle-wrapper.jar 52.38KB
  51. flutter_percent_indicator-master/example/android/gradle/wrapper/gradle-wrapper.properties 230B
  52. flutter_percent_indicator-master/example/android/gradlew 4.85KB
  53. flutter_percent_indicator-master/example/android/gradlew.bat 2.35KB
  54. flutter_percent_indicator-master/example/android/settings.gradle 484B
  55. flutter_percent_indicator-master/example/ios/
  56. flutter_percent_indicator-master/example/ios/.gitignore 512B
  57. flutter_percent_indicator-master/example/ios/Flutter/
  58. flutter_percent_indicator-master/example/ios/Flutter/AppFrameworkInfo.plist 774B
  59. flutter_percent_indicator-master/example/ios/Flutter/Debug.xcconfig 30B
  60. flutter_percent_indicator-master/example/ios/Flutter/Release.xcconfig 30B
  61. flutter_percent_indicator-master/example/ios/Runner.xcodeproj/
  62. flutter_percent_indicator-master/example/ios/Runner.xcodeproj/project.pbxproj 16.24KB
  63. flutter_percent_indicator-master/example/ios/Runner.xcodeproj/project.xcworkspace/
  64. flutter_percent_indicator-master/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata 135B
  65. flutter_percent_indicator-master/example/ios/Runner.xcodeproj/xcshareddata/
  66. flutter_percent_indicator-master/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/
  67. flutter_percent_indicator-master/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme 3.25KB
  68. flutter_percent_indicator-master/example/ios/Runner.xcworkspace/
  69. flutter_percent_indicator-master/example/ios/Runner.xcworkspace/contents.xcworkspacedata 152B
  70. flutter_percent_indicator-master/example/ios/Runner/
  71. flutter_percent_indicator-master/example/ios/Runner/AppDelegate.h 103B
  72. flutter_percent_indicator-master/example/ios/Runner/AppDelegate.m 424B
  73. flutter_percent_indicator-master/example/ios/Runner/Assets.xcassets/
  74. flutter_percent_indicator-master/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/
  75. flutter_percent_indicator-master/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json 2.46KB
  76. flutter_percent_indicator-master/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png 10.85KB
  77. flutter_percent_indicator-master/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png 564B
  78. flutter_percent_indicator-master/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png 1.25KB
  79. flutter_percent_indicator-master/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png 1.55KB
  80. flutter_percent_indicator-master/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png 1KB
  81. flutter_percent_indicator-master/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png 1.68KB
  82. flutter_percent_indicator-master/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png 1.88KB
  83. flutter_percent_indicator-master/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png 1.25KB
  84. flutter_percent_indicator-master/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png 1.85KB
  85. flutter_percent_indicator-master/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png 2.6KB
  86. flutter_percent_indicator-master/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png 2.6KB
  87. flutter_percent_indicator-master/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png 3.74KB
  88. flutter_percent_indicator-master/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png 1.84KB
  89. flutter_percent_indicator-master/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png 3.22KB
  90. flutter_percent_indicator-master/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png 3.53KB
  91. flutter_percent_indicator-master/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/
  92. flutter_percent_indicator-master/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json 391B
  93. flutter_percent_indicator-master/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png 68B
  94. flutter_percent_indicator-master/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png 68B
  95. flutter_percent_indicator-master/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png 68B
  96. flutter_percent_indicator-master/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md 336B
  97. flutter_percent_indicator-master/example/ios/Runner/Base.lproj/
  98. flutter_percent_indicator-master/example/ios/Runner/Base.lproj/LaunchScreen.storyboard 2.32KB
  99. flutter_percent_indicator-master/example/ios/Runner/Base.lproj/Main.storyboard 1.57KB
  100. flutter_percent_indicator-master/example/ios/Runner/Info.plist 1.57KB
  101. flutter_percent_indicator-master/example/ios/Runner/main.m 226B
  102. flutter_percent_indicator-master/example/lib/
  103. flutter_percent_indicator-master/example/lib/main.dart 1.32KB
  104. flutter_percent_indicator-master/example/lib/sample_circular_page.dart 14.77KB
  105. flutter_percent_indicator-master/example/lib/sample_linear_page.dart 10.4KB
  106. flutter_percent_indicator-master/example/percent_indicator_example.iml 896B
  107. flutter_percent_indicator-master/example/percent_indicator_example_android.iml 1.42KB
  108. flutter_percent_indicator-master/example/pubspec.lock 1.83KB
  109. flutter_percent_indicator-master/example/pubspec.yaml 603B
  110. flutter_percent_indicator-master/lib/
  111. flutter_percent_indicator-master/lib/circular_percent_indicator.dart 16.94KB
  112. flutter_percent_indicator-master/lib/linear_percent_indicator.dart 14.86KB
  113. flutter_percent_indicator-master/lib/percent_indicator.dart 110B
  114. flutter_percent_indicator-master/percent_indicator.iml 1.36KB
  115. flutter_percent_indicator-master/pubspec.lock 4.48KB
  116. flutter_percent_indicator-master/pubspec.yaml 875B
  117. flutter_percent_indicator-master/screenshots/
  118. flutter_percent_indicator-master/screenshots/circular_percent_indicator.gif 604.72KB
  119. flutter_percent_indicator-master/screenshots/circular_percent_indicator.png 129.18KB
  120. flutter_percent_indicator-master/screenshots/linear_percent_indicator.gif 344.65KB
  121. flutter_percent_indicator-master/screenshots/linear_percent_indicator.png 71.43KB
  122. flutter_percent_indicator-master/test/
  123. flutter_percent_indicator-master/test/percent_indicator_test.dart 747B
0评论
提交 加载更多评论
其他资源 NetBox附件资源,解压缩就行
解压缩,放入程序集中,双击运行,直接使用
基于pyQT实现的视频截取为图像小工具demo
内容简介: 本资源是一个基于Python与PyQt框架实现的视频截取为图像小工具的Demo代码。内容概要上,它提供了一个图形用户界面(GUI),允许用户通过简单的点击和拖拽操作,从本地视频文件中选择感兴趣的片段,并将这些片段截取为单张或多张静态图像。适用于对视频处理感兴趣但初学者水平的编程爱好者、多媒体处理工作者或需要快速从视频中提取关键帧的科研人员。 适用人群: 对Python编程有一定基础的开发者。 需要处理视频数据,提取关键帧进行后续分析或设计的专业人士。 希望通过实践学习PyQt GUI开发以及视频处理技术的学生或爱好者。 能学到什么: 掌握使用PyQt创建基本GUI应用程序的方法。 学习如何操作视频文件,包括读取、播放及定位特定帧。 理解并实践如何将视频帧转换为图像并保存。 锻炼编程实践能力,通过项目实践加深对Python及PyQt框架的理解。 阅读建议: 建议读者先具备一定的Python编程基础,包括变量、控制流、函数等基本概念。 最好先了解一些基础的PyQt知识,如窗口、控件的创建与布局。 跟随Demo代码逐步操作,理解每一部分代码的功能和目的,尝试修改代码以满
WordPress插件 Keyword-ranking-seo关键词排名插件 有利于seo
WordPress插件 Keyword-ranking-seo关键词排名插件 有利于seo
Infinity 新标签页 pro(infinity-new-tab-pro).zip
Infinity New Tab Pro 赋予您个性化新标签页的能力,将Chrome的默认新标签页替换为您精心收藏的书签,并带来一系列便捷高效的功能。 安装此扩展后,您将享受到以下特色功能: 个性化书签定制:您可以自由添加和编辑新标签页上的书签,系统将自动识别并获取书签网站的标题。此功能需要您授权“读取和修改您在访问网站时留下的所有数据”。 壁纸个性化:选择您喜爱的壁纸,为您的新标签页增添个性色彩。 搜索引擎自定义:根据您的偏好,定制新标签页上的搜索引擎。 Gmail集成:自动读取并显示您的Gmail未读邮件数量,并在收到新邮件时提供通知。 书签展示:直观展示您Chrome浏览器中的书签内容。 历史记录管理:在获得您的授权后,提供历史记录的读取、展示和管理功能。 扩展程序与应用管理:轻松管理和展示您的Chrome扩展程序和应用。 常用网站展示:在页面顶部展示您频繁访问的网站,方便快速访问。 侧边栏功能:提供天气、待办事项和笔记等实用工具。 数据同步:通过Google、Facebook、微信、微博、QQ等第三方账号登录,实现数据的备份和同步。 书签分享:将您的书签
圈子系统可发帖,可开语音,可提取短视频
● 她是谁??? ●系统基于TP6+Uni-app框架开发;客户移动端采用uni-app开发,管理后台TH6开发。 ● 系统支持微信公众号端、微信小程序端、H5端、PC端多端账号同步,可快速打包生成APP ● 目前已开发升级至4.2版 适用领域 一、行业圈子:您可以使用在你的行业领域,让本行业的有交流和联系的圈子。 二、地方圈子:您可以使用在本地区,运营地方性的综合圈子或论坛,搭配商城频道,可以做类似美团的本地到店消费,搭配交友频道可做本地社交。搭配圈子可做信息发布类。 三、纯社交圈子:搭配交友频道,和语聊房间频道可运营娱乐社交类APP,可实现VIP充值盈利和虚拟礼物主播分成模式, 四、游戏开黑圈子:搭配语聊与交友。可作为游戏开黑组队和代练模式交易。 五、兴趣圈子:你所熟悉的某个兴趣点专注领域,种草社区结合商城系统。直接种草和电商结合。 六、活动搭子类:为用户提供活动组局、搭子、商家活动发布类产品。 七、我们提供十多款丰富功能的插件,可选择搭配。
python3.8.2版本
python3.8.2版本
YOLO系列算法使用bdd100k数据集训练的数据预处理及格式转换python代码
内容简介 本资源提供了一套针对BDD100K数据集的Python代码,旨在辅助用户完成YOLO系列算法训练前的数据预处理及格式转换工作。内容概要上,该代码能够处理BDD100K数据集的复杂标注信息,包括图像路径、类别标签、边界框坐标等,并将其转换为YOLO算法训练所需的特定格式(如TXT文件),同时可能包括图像增强、归一化等预处理步骤,以优化训练效果。 适用人群: 深度学习爱好者与研究者,特别是专注于目标检测领域的学者和学生。 开发人员,需要利用BDD100K数据集进行YOLO算法训练的工程师。 寻求提升数据处理效率与准确性的数据科学家。 能学到什么: 了解BDD100K数据集的标注结构与特点。 掌握将BDD100K数据集转换为YOLO训练格式的方法。 学习图像预处理技术,如数据增强、归一化等,在目标检测训练中的应用。 提升Python编程能力,特别是文件操作、数据处理及条件逻辑的实现。 阅读建议: 在阅读前,建议对BDD100K数据集和YOLO算法有一定的了解。 逐步执行代码,理解每一步的作用,特别是数据解析、预处理和格式转换的逻辑。 尝试修改代码中的参数,如调整数据增强的
YOLO系列算法训练数据格式转换脚本
内容概要: 本资源提供了一套完整的Python脚本代码,用于将XLM和COCO格式的目标检测数据集转换为YOLO格式。内容概要上,该脚本通过读取XLM或COCO数据集的标注文件(如JSON格式),自动解析图像信息、类别标签及边界框坐标,并转换为YOLO算法所需的格式(通常是TXT文件)。 适用人群: 学生:对目标检测、深度学习及数据预处理感兴趣的初学者。 研发人员:具备一定编程基础,特别是Python和深度学习领域,希望快速实现数据集格式转换以提高工作效率的开发者。 科研人员:在目标检测领域进行研究的学者,需要处理多种格式数据集以进行算法验证和优化。 能学到什么: 掌握XLM、COCO与YOLO数据格式的差异及转换方法。 学习Python脚本编写技巧,特别是文件读写、数据处理及逻辑判断。 了解目标检测数据集标注文件的解析与转换流程。 阅读建议: 在阅读前,建议对XLM、COCO和YOLO数据格式有一定的了解。 逐步执行脚本中的代码,理解每一步的作用,特别是数据解析和格式转换的逻辑。 尝试修改脚本中的参数和路径,以适应不同的数据集和需求。 遇到问题时,可参考相关文档或寻求社区帮助