Tim

Results 29 comments of Tim

Yeah, I have already searched for the problem. I'm fighting it almost for a month, but still can't figure out what is wrong and why it keeps occurring.

I have the same issue, the player cannot play a sound instantly even if the needed sound is preloaded using AudioCache

Please add this feature!

@aamirvakeel1 you should load your asset file like this: `rootBundle.loadString(assetRoute)`

Any updates here? ______ Is there another way do draw shadow behind SVG picture in Flutter? Should I convert it to the canvas path and draw the shadow or is...

Oh, excuse me, it was just a typo. I always define types and I have also tried with Future, but always see the following: ` [SEVERE] floor_generator:floor_generator on lib/data/db_configs/AppDatabase.dart: Error...

I guess I've found the cause! I've been trying to execute the raw query exactly in entityDao instead of calling appDatabase.query('sql'). It wasn't obvious to me :)

> > I guess I've found the cause! I've been trying to execute the raw query exactly in entityDao instead of calling appDatabase.query('sql'). It wasn't obvious to me :) >...

@SergeiMikhailovskii Why not? let's assume we have a table called 'bill' with fields [id, amount], then: ` final int numbersSum = await _database.database.rawQuery('SELECT SUM(amount) FROM bill')['SUM(amount)']; ` You just receive...

@SergeiMikhailovskii No, from DAO you can return only that data type, for which dao was created. But you still can do that by the direct raw query (including using WHERE...