Skip to content

Commit

Permalink
Add wasm support
Browse files Browse the repository at this point in the history
  • Loading branch information
martijn00 committed Aug 13, 2024
1 parent 8f2fade commit c41a9bd
Show file tree
Hide file tree
Showing 5 changed files with 114 additions and 98 deletions.
6 changes: 3 additions & 3 deletions flutter_cache_manager/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ environment:
sdk: '>=3.0.0 <4.0.0'

dependencies:
baseflow_plugin_template: ^2.1.2
baseflow_plugin_template: ^2.2.0
cupertino_icons: ^1.0.8
flutter:
sdk: flutter
flutter_cache_manager:
path: ../
url_launcher: ^6.2.1
url_launcher: ^6.3.0

dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^3.0.2
flutter_lints: ^4.0.0

flutter:
uses-material-design: true
2 changes: 1 addition & 1 deletion flutter_cache_manager/lib/src/config/config.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:flutter_cache_manager/flutter_cache_manager.dart';
import 'package:flutter_cache_manager/src/config/_config_unsupported.dart'
if (dart.library.html) '_config_web.dart'
if (dart.library.js_interop) '_config_web.dart'
if (dart.library.io) '_config_io.dart' as impl;

abstract class Config {
Expand Down
12 changes: 6 additions & 6 deletions flutter_cache_manager/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_cache_manager
description: Generic cache manager for flutter. Saves web files on the storages of the device and saves the cache info using sqflite.
version: 3.4.0
version: 3.4.1
homepage: https://github.com/Baseflow/flutter_cache_manager/tree/develop/flutter_cache_manager
topics:
- cache
Expand All @@ -14,15 +14,15 @@ dependencies:
file: ^7.0.0
flutter:
sdk: flutter
http: ^1.2.0
http: ^1.2.2
path: ^1.9.0
path_provider: ^2.1.2
path_provider: ^2.1.4
rxdart: '>=0.27.7 <0.29.0'
sqflite: ^2.3.0
uuid: ^4.4.0
sqflite: ^2.3.3+1
uuid: ^4.4.2

dev_dependencies:
build_runner: ^2.4.11
build_runner: ^2.4.12
flutter_lints: ^4.0.0
flutter_test:
sdk: flutter
Expand Down
Loading

0 comments on commit c41a9bd

Please sign in to comment.