marcinusx / bmi_calculator Goto Github PK
View Code? Open in Web Editor NEWBMI Calculator app designed by Johny Vino
Home Page: https://marcinszalek.pl/tag/bmi-calculator/
License: MIT License
BMI Calculator app designed by Johny Vino
Home Page: https://marcinszalek.pl/tag/bmi-calculator/
License: MIT License
Launching lib\main.dart on Android SDK built for x86 in debug mode...
Built build\app\outputs\apk\debug\app-debug.apk.
I/Choreographer( 1502): Skipped 34 frames! The application may be doing too much work on its main thread.
D/EGL_emulation( 1502): eglMakeCurrent: 0xef97f2e0: ver 3 0 (tinfo 0xe8273cd0)
I/OpenGLRenderer( 1502): Davey! duration=729ms; Flags=1, IntendedVsync=55229025141473, Vsync=55229591808117, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=55229594840430, AnimationStart=55229595609460, PerformTraversalsStart=55229595819700, DrawStart=55229622915100, SyncQueued=55229641538330, SyncStart=55229649316520, IssueDrawCommandsStart=55229649994050, SwapBuffers=55229719895430, FrameCompleted=55229762241850, DequeueBufferDuration=26679000, QueueBufferDuration=2305000,
D/ ( 1502): HostConnection::get() New Host Connection established 0xe7cfde40, tid 1559
D/EGL_emulation( 1502): eglMakeCurrent: 0xef97f400: ver 3 0 (tinfo 0xe8273970)
The following assertion was thrown building GenderCard(dirty, dependencies: [MediaQuery], state: _GenderCardState#eeae4):
'package:flutter/src/widgets/transitions.dart': Failed assertion: line 125 pos 15: 'listenable != null': is not true.
Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new?template=BUG.md
User-created ancestor of the error-causing widget was:
Expanded file:///D:/FlutterProjects/simple_bmi_app/lib/input_page.dart:59:17
When the exception was thrown, this was the stack:
#2 new AnimatedWidget (package:flutter/src/widgets/transitions.dart:125:15)
#3 new GenderArrow (package:simple_bmi_app/gender_card.dart:210:57)
#4 _GenderCardState._drawCircleIndicator (package:simple_bmi_app/gender_card.dart:90:9)
#5 _GenderCardState._drawMainStack (package:simple_bmi_app/gender_card.dart:75:11)
#6 _GenderCardState.build (package:simple_bmi_app/gender_card.dart:61:22)
...
hello
I do not understand how comput _offsetToMiddleIndex
in class WeightSlider
what return notification.metrics.pixels
?
why in method _offsetToMiddleIndex
width / 2 ?
i search for understand it but I didn't get any results!!!
Resolving dependencies... 9.7s
Compiler message:
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.5.5+1/lib/src/picture_provider.dart:312:20: Error: The argument type 'String' can't be assigned to the parameter type 'DiagnosticsNode'.
FAILURE: Build failed with an exception.
Where:
Script 'C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 765
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebugX86'.
Process 'command 'C:\flutter\bin\flutter.bat'' finished with non-zero exit value 1
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 48s
See error code....
03:15:21.315 44 info flutter.tools Try changing the type of the parameter, or casting the argument to 'DiagnosticsNode'.
03:15:21.315 45 info flutter.tools context: 'in _getDefinitionPaint',
03:15:21.315 46 info flutter.tools ^
03:15:21.316 47 info flutter.tools - 'StringBuffer' is from 'dart:core'.
03:15:21.316 48 info flutter.tools - 'Iterable' is from 'dart:core'.
03:15:21.317 49 info flutter.tools - 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('../../development/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
03:15:21.317 50 info flutter.tools Try changing the type of the parameter, or casting the argument to 'Iterable Function()'.
03:15:21.317 51 info flutter.tools informationCollector: (StringBuffer buff) {
03:15:21.317 52 info flutter.tools ^
03:15:21.319 53 info flutter.tools
03:15:21.319 54 info flutter.tools - 'StringBuffer' is from 'dart:core'.
03:15:21.319 55 info flutter.tools - 'Iterable' is from 'dart:core'.
03:15:21.319 56 info flutter.tools - 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('../../development/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
03:15:21.319 57 info flutter.tools Try changing the type of the parameter, or casting the argument to 'Iterable Function()'.
03:15:21.319 58 info flutter.tools informationCollector: (StringBuffer buff) {
03:15:21.319 59 info flutter.tools ^
03:15:21.321 60 info flutter.tools - 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('../../development/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
03:15:21.321 61 info flutter.tools Try changing the type of the parameter, or casting the argument to 'DiagnosticsNode'.
03:15:21.321 62 info flutter.tools context: 'in parseSvgElement',
03:15:21.321 63 info flutter.tools ^
03:15:23.549 64 info flutter.tools Compiler failed on /Users/bharat/Downloads/bmi_calculator-master/lib/main.dart
03:15:23.549 65 info flutter.tools Error launching application on iPhone XR.
Also, README should include links back to blog series :)
Yeah I know FlutterDriver feels a lot like Selenium-1 (RC) and not much like Selenium-2+ (WebDriver) but it is the only way for now - If we're teaching people we should teach testing best practices too.
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.