Alot of changes

This commit is contained in:
ImBenji
2024-05-01 12:29:59 +01:00
parent 8cc4016836
commit fc4d3ef898
23 changed files with 1755 additions and 430 deletions

View File

@@ -0,0 +1,15 @@
import 'package:flutter/foundation.dart';
String WW_AssetSource(String location) {
if (kIsWeb) {
// remove the first character if it is a '/'
if (location.startsWith('/')) {
location = location.substring(1);
}
return "assets/$location";
}
return location;
}