Issue I’ve found that if I change my itemCount to a number it still doesn’t work but if I change the itemCount & comment out the teamServices call there and in the column, it will display the text Hello. So
Continue readingTag: dart-html
import dart:html throws error when build on android emulator, but I need html
Issue My flutter app uses a maps API key as below. create_script_element.dart import ‘dart:html’; import ‘current_flavour.dart’; void createScriptElement() { ScriptElement script = ScriptElement(); script.src = "https://maps.googleapis.com/maps/api/js?key=${currentFlavor()}&language=en&libraries=drawing&callback=Function.prototype"; script.id = "super-script"; document.head?.append(script); } Another file ‘current_flavour.dart’ has the keys const String flavorDev
Continue readingFlutter API Request BadState response
Issue I am currently trying to implement an API request with flutter. I have implemented the resuest in Postman and tried all the data. The result was successful. Then I tried to implement this request in my programme. However, I
Continue readingError: Not found: 'dart:html' import 'dart:html' as html;
Issue i got this weird error in my app yesterday when i try to run it and i cant quite understand how to fix it. it shows a lot of error line, this wasnt happen before and i dont know
Continue readingIndexedDB: `DOMException` while opening an `IDBObjectStore`, that the transaction has finished
Issue When trying to open IDBObjectStore(ObjectStore in dart): Error message (exact copy-paste) [+5324 ms] DOMException: Failed to execute ‘objectStore’ on ‘IDBTransaction’: The transaction has finished. dart-sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart 1233:22 objectStore] packages/scholar/scholar/client/flutter/dart/src/main.dart 21:35 <fn> dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 334:14 _checkAndCall dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 339:39 dcall dart-sdk/lib/html/dart2js/html_dart2js.dart 37317:58 <fn>
Continue readingHow to play a sound (wav) in Dart?
Issue I use a Dart script in a web page and need to play a WAV file in the browser when a certain event is triggered. I do not use Flutter. Instead, it is a simple DOM-interacting program. What I’m
Continue readingIs there a way to make a search function make an api call to return a list and go to a results page in dart?
Issue I’m trying to make a book app and am trying to make a search bar that will append what I typed into a URL and perform a get. I am struggling to get the search text to the API
Continue readingThe data from file is not updated in my App
Issue I build the app that should return the tree of blocks connected to each other. I would like to have the possibility to save the info after user made the changes on the phone. I use for this getApplicationDocumentsDirectory()
Continue readingFlutter plugin – mobile fails to compile because of 'dart:html' but plugin only supports web
Issue Since there is no package to implement AdSense in Flutter, I decided to create a local plugin. It’s extremely simple, the widget is an IFrameElement. I made sure when creating the plugin to specify that it only supports web
Continue readingChange Flutter Launcher Icon
Issue I want to Change Flutter Install Icon If you check the "Chrome PWA install" link from my post. You can see that i encircled the icon. i wanted to change the default flutter icon to my own icon. Chrome
Continue reading