xuyisheng / flutter_dojo Goto Github PK
View Code? Open in Web Editor NEWA beautiful design and useful project for Building a flutter knowledge architecture
License: GNU General Public License v3.0
A beautiful design and useful project for Building a flutter knowledge architecture
License: GNU General Public License v3.0
`Compiler message:
lib/widgets/touchinteractions/dragtarget.dart:73:28: Error: The argument type 'Null Function(double)' can't be assigned to the parameter type 'void Function(Object)'.
FAILURE: Build failed with an exception.
Where:
Script 'D:\Flutter\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 801
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command 'D:\Flutter\flutter\bin\flutter.bat'' finished with non-zero exit value 1
Compiler message:
Error: Could not resolve the package 'image' in 'package:image/image.dart'.
lib/category/animation/simulation/particle.dart:9:8: Error: Not found: 'package:image/image.dart'
import 'package:image/image.dart' as image;
^
lib/category/animation/simulation/particle.dart:92:28: Error: Type 'image.Image' not found.
void separatePixels(List<image.Image> blankLayers, image.Image fullImage, int width, int height) {
^^^^^^^^^^^
lib/category/animation/simulation/particle.dart:92:54: Error: Type 'image.Image' not found.
void separatePixels(List<image.Image> blankLayers, image.Image fullImage, int width, int height) {
^^^^^^^^^^^
lib/category/animation/simulation/particle.dart:103:10: Error: Type 'image.Image' not found.
Future<image.Image> convertWidget2Image() async {
^^^^^^^^^^^
lib/category/animation/simulation/particle.dart:111:30: Error: Type 'image.Image' not found.
Widget convertImage2Widget(image.Image png) {
^^^^^^^^^^^
lib/category/animation/simulation/particle.dart:82:11: Error: 'Image' isn't a type.
image.Image fullImage = await convertWidget2Image();
^^^^^
lib/category/animation/simulation/particle.dart:85:16: Error: 'Image' isn't a type.
List<image.Image> blankLayers = List.generate(widget.numberOfLayers, (i) => image.Image(width, height));
^^^^^
lib/category/animation/simulation/particle.dart:85:81: Error: Method not found: 'Image'.
List<image.Image> blankLayers = List.generate(widget.numberOfLayers, (i) => image.Image(width, height));
^^^^^
lib/category/animation/simulation/particle.dart:92:34: Error: 'Image' isn't a type.
void separatePixels(List<image.Image> blankLayers, image.Image fullImage, int width, int height) {
^^^^^
lib/category/animation/simulation/particle.dart:92:60: Error: 'Image' isn't a type.
void separatePixels(List<image.Image> blankLayers, image.Image fullImage, int width, int height) {
^^^^^
lib/category/animation/simulation/particle.dart:108:12: Error: Method not found: 'decodeImage'.
return image.decodeImage(pngBytes);
^^^^^^^^^^^
lib/category/animation/simulation/particle.dart:111:36: Error: 'Image' isn't a type.
Widget convertImage2Widget(image.Image png) {
^^^^^
lib/category/animation/simulation/particle.dart:112:41: Error: Method not found: 'encodePng'.
Uint8List data = Uint8List.fromList(image.encodePng(png));
^^^^^^^^^
lib/category/widgets/touchinteractions/dragtarget.dart:86:28: Error: The argument type 'Null Function(double)' can't be assigned to the parameter type 'void Function(Object)'.
问一下用的依赖的是flutter什么版本,dart是什么版本
titlte需要修复,识别不了最新flutter,时间选择器有点丑,我还以为flutter自带炫酷的时间选择器啊
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':shared_preferences'.
> Could not resolve all artifacts for configuration ':shared_preferences:classpath'.
> Could not download kotlin-reflect.jar (org.jetbrains.kotlin:kotlin-reflect:1.3.21)
> Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-reflect/1.3.21/kotlin-reflect-1.3.21.jar'.
> Could not GET 'https://d29vzk4ow07wi7.cloudfront.net/a3065c822633191e0a3e3ee12a29bec234fc4b2864a6bb87ef48cce3e9e0c26a?response-content-disposition=attachment%3Bfilename%3D%22kotlin-reflect-1.3.21.jar%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHAqOi8vZDI5dnprNG93MDd3aTcuY2xvdWRmcm9udC5uZXQvYTMwNjVjODIyNjMzMTkxZTBhM2UzZWUxMmEyOWJlYzIzNGZjNGIyODY0YTZiYjg3ZWY0OGNjZTNlOWUwYzI2YT9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPWF0dGFjaG1lbnQlM0JmaWxlbmFtZSUzRCUyMmtvdGxpbi1yZWZsZWN0LTEuMy4yMS5qYXIlMjIiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1ODIyNjk2Mzh9LCJJcEFkZHJlc3MiOnsiQVdTOlNvdXJjZUlwIjoiMC4wLjAuMC8wIn19fV19&Signature=c-T3jrsJeAtFfbjH7FwfvHRBv6k5hUxL3lFdTJfMPAIUBWs39--HLFfHst1NGYJSA629BLF7LM-RWa3U2kEt3GSsqHQMf47I97XRXR7sUVT9RNc-fTL1SY6gNKBGCSnvvV~5pwbAG6fixZTougP83K7U46ogJu~uU4m5GH2HqNB5qkZo6dB47pTj8MvRrFvX6rX3uxJBKKN0Jz598NKU-euqjQiiAkyGM9RzQ6Y9vJ2EpSbuj4dS1gDJgHEAUMSz3cOaZo9M6o4vqSTOj8EYB-2~eZFnmsLnHrBtTJAmRLOJoTMTJr3W6IYK3H8guscL6TsTIK8LK2Oz8ULwgUxPvw__&Key-Pair-Id=APKAIFKFWOMXM2UMTSFA'.
> Received close_notify during handshake
> Failed to notify project evaluation listener.
> Could not get unknown property 'android' for project ':shared_preferences' of type org.gradle.api.Project.
> Could not find method implementation() for arguments [project ':shared_preferences_macos'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
> Could not find method implementation() for arguments [project ':shared_preferences_web'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
代码多的时候,看的有点眼疼。所以,想问一下,可不可以增加代码缩放的功能?类似于 as 里面的那样。
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
如题
源文件的名称是下划线区分单词,而跳转markdown显示源代码的时候却是
MaterialPageRoute( builder: (context) => MarkdownPage(codePath + title.toLowerCase() + '.dart'), )
直接将‘页面标题’转为小写字母,导致很多界面,点击查看源码的时候打开的路径异常而无法获取到正确的源码文件,从而没法实现跳转。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.