I'm working on a flutter project with VS Code and I ended up upgrading flutter. After upgrading, when i run my project i get a 'parameter format not correct' error:
I also get this:
After my app starts whenever I press something or try to type something or even scrolling the screen it looks like it's trying to cache something:
How can I solve this issue?
Related
I have a ui package, this package simply contains some(10+) widgets and they are all just a widgets. None of them some complex controller or etc so when I use them, I can't miss the something like initializers or etc.
So my problem is, after the installation an app(which is contains a lot of witget from that package) everything working correctly like the image.
But if I change the current app on android/real device(and without debug mode), like switching the chrome and spend some time at the browser, after returning the app, all widgets showing off, they are simply dissappering. Like the image;
So my question is simple, why can it be happen? By the way, the divider as shown the middle of the page,is not part of the package, it is located in app/lib folder.
and lastly, I don't give any change but I have 57 svg file in the package but I am not call all of them at same time and their total size just 833,5kb, but maybe it can be related?
I don't have any native knowledge but if anyone can point me some tips, I will be glad.
Not really sure if it's a bug related to the new version of Flutter (3.0.2) but upgrading ext.kotlin_version inside android/build.gradle to 1.7.0 do the trick.
I run my application, but show this error. Before this i can run it. But now, It says "pr.dismiss is not defined in progress dialog." I have install package,and my code in flutter is not red colour but run it that got error in debug.
So how i can solves this problem?
I RUN THIS GOT PROBLEM
as per your source code you use https://pub.dev/packages/progress_dialog package for display progress dialog. so as per this package for dismiss dialog you need to use the below method.
pr.hide().then((isHidden) {
print(isHidden);
});
// or
await pr.hide();
So replace pr.dismiss() with the above method.
I have quick view pop up which uses jquery.fancybox.pack.js and a slider with image gallery popup which uses a jquery.fancybox.js
There is a script error in console as "TypeError: $.fancybox.getInstance is not a function" and also there is an issue with slider image gallery poopup(opening first image only on every image click)
I tried to solve the script error by removing jquery.fancybox.js file initialized in local.xml file. Now the script error is solved. But my slider with image gallery popup will not work.
When I initialized both jquery file in local.xml, got an error as "Error: fancyBox already initialized".
What could be the reason for this. How can I solve the issue with slider image gallery pop up.
Are these files(jquery.fancybox.pack.js and jquery.fancybox.js) same?
Please help.
Sounds like you are mixing different versions of fancyBox.
jquery.fancybox.pack.js is packed version of jquery.fancybox.js and it was shipped with v1 and v2.
V3 now has minified version (jquery.fancybox.min.js) and only v3 contains getInstance method.
I am developing an app for Mac, I am getting a weird issue. When ever i reload a row and for a particular column when the reload code executes i am getting a sound output from my mac.
Below is the code
myTableView.reloadDataForRowIndexes(myTableView.selectedRowIndexes, columnIndexes: NSIndexSet.init(index: myTableView.columnWithIdentifier("source")))
I have a column with identifier "source", When ever i try to reload and after the execution of the above line i am getting sound in my mac.
I am using Xcode 7.3, OSX 10.11.6
Have you tried setting a breakpoint on NSBeep()? My gues would be that the table, or some other code trigger by the update is sending an error message.
Finally i found the issue. I debugged the code in depth and found the root cause.
Sound is coming when ever i am calling below code, here sourceTextField is a NSTextField. I commented this code and every thing is working fine.(i can directly give the value to text field like sourceTextField.stringValue.)
sourceTextField.insertText(itemText)
Thanks to all of you who made some time to write a comment/ post a message, Sorry for bothering you all guys.
I am trying to implement image zooming for image in Ionic app.
It has been implemented here
and works flawlessly on the original project created with Ionic V 1.0.0 but doesn't seem to work all that good in Ionic V 1.3.0.
On V 1.1.0 this
($ionicScrollDelegate.$getByHandle('scrollHandle' +
slide).getScrollPosition())
logs a json like this
{"left":0,"top":0,"zoom":1}
But in V 1.3.0 it logs it as
undefined
Also on chrome it shows warning like this:
Delegate for handle "scrollHandle0" could not find a corresponding
element with delegate-handle="scrollHandle0"! getScrollPosition() was
not called! Possible cause: If you are calling getScrollPosition()
immediately, and your element with delegate-handle="scrollHandle0" is
a child of your controller, then your element may not be compiled yet.
Put a $timeout around your call to getScrollPosition() and try again.
This is still working on devices (tested both on iOS and Android) but not smooth at all. It is very laggy.
Any thoughts or workarounds?
So the issue had nothing to do with Ionic version which I realised after more debugging. It was due to
delegate-handle="scrollHandle{{$index}}"
In my usecase I was not using ng-repeat so was using
delegate-handle="scrollHandle"
But this was not working and causing the above mentioned issues. So fix was to add 0 as index with it. In my case this solved it.
delegate-handle="scrollHandle0"
In other cases use case may be different so but if using ng-repeat this would work
delegate-handle="scrollHandle{{$index}}"
and if not this should do the trick
delegate-handle="scrollHandle0"