Issue I have problem when deleting row in app it deleting without errors but when fetching for data it still there like it didn’t ever deleted I am using sqflite package here is function to get database: Future<Database> _getDatabase() async
Continue readingTag: path
How to get the correct path for sqflite Flutter database?
Issue I’m trying to create a local database with Flutter on Android. I originally created a directory with a particular directory which worked perfectly then I uninstalled the application from the device (not AVD) Then when I tried to create
Continue readingFlutter file_picker with Riverpod
Issue I’m trying to learn Riverpod nowadays and I’m trying to use the file_picker package with it. Can’t find a way to implement it in this code. I created two state notifiers that are supposed to hold values of the
Continue readingMy project don't work because of Flutter image
Issue I have been trying to fix it, but I cannot add an image. Why is this? I have trying to change path part but it didn’t work. maindart: import ‘package:flutter/material.dart’; import ‘dashboard.dart’; void main() => runApp(MyApp()); class MyApp extends
Continue readingWhy is the flutter share_plus package giving this IllegalArgumentException?
Issue I am writing a function that essentially gets data from an http request as a byte array, then writes it to a file in the temporary directory in order to share to wherever the user desires. I have successfully
Continue readingAndroid studio android annotation system api
Issue I havent built an app in android using this library before android.annotation.SystemApi, but my project now requires it. Is there something wrong in my import statement that prevents me from using SystemApi? there are a few other annotation libraries
Continue readingAndroid move object along a path
Issue I have created a path and circle and displayed both of them on screen as follows: public void onDraw(Canvas canvas){ Path sPath = new Path(); sPath.moveTo(100, 100); sPath.lineTo(300, 100); sPath.lineTo(300, 300); sPath.lineTo(100,300); sPath.lineTo(100,100); sPath.close(); Paint ballPaint = new Paint();
Continue readingHow to get the absolute path of a file in flutter
Issue I am working on a Flutter project to syntehsise an string to an audio file. For this reason, I have added flutter_tts as a dependency and implemented the following method with different approaches in order to check the existence
Continue readingIs there any way to know if the lines on the canvas (Path) are overlapping?
Issue I would like to know if there is any logic or function to get a bool when two lines overlap, I tried to do it myself with for cycles of each List<Offset>, however each Offset is not exact, because
Continue readingcan someone please explain the last two params of arcTo?
Issue I’m trying to draw a rectangle with rounded corners. I have a javascript path that does this, but the javascript arcTo method takes a rectangle (to define its oval) and then one param which sets the sweep. However, in
Continue reading