8000 Drop built in html package · rk0cc/github_colour_flutter@a0afdb4 · GitHub
[go: up one dir, main page]

Skip to content

Commit a0afdb4

Browse files
committed
Drop built in html package
1 parent fc2ab81 commit a0afdb4

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 3.2.2
2+
3+
* Migrate to `package:web`
4+
* Require Dart 3.3 or above
5+
16
## 3.2.1
27

38
* Fix performing checksum before decompress cached colour data.

example/macos/Flutter/GeneratedPluginRegistrant.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@ import FlutterMacOS
66
import Foundation
77

88
import path_provider_foundation
9-
import shared_preferences_foundation
109
import url_launcher_macos
1110

1211
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
1312
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
14-
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
1513
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
1614
}

lib/colors.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

lib/src/cache/cache.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export 'cache_generic.dart'
22
if (dart.library.io) "cache_vm.dart"
3-
if (dart.library.html) "cache_web.dart";
3+
if (dart.library.js_interop) "cache_web.dart";

pubspec.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: github_colour
22
description: Receive ozh's GitHub colour to Flutter's colour implementation with caching and fallback.
3-
version: 3.2.1
3+
version: 3.2.2
44
repository: https://github.com/rk0cc/github_colour_flutter
55
topics:
66
- color
@@ -17,8 +17,8 @@ screenshots:
1717
- description: 'Python colour applied'
1818
path: screenshots/yaTEp1i.png
1919
environment:
20-
sdk: ">=3.0.0 <4.0.0"
21-
flutter: ">=3.10.0"
20+
sdk: ">=3.3.0 <4.0.0"
21+
flutter: ">=3.19.0"
2222
dependencies:
2323
flutter:
2424
sdk: flutter
@@ -27,8 +27,8 @@ dependencies:
2727
path: ^1.8.3
2828
path_provider: ^2.1.1
2929
lzma: ^1.0.1
30-
sembast: ^3.6.0
31-
sembast_web: ^2.2.0
30+
sembast: ^3.7.0
31+
sembast_web: ^2.3.0
3232
hashlib: ^1.12.0
3333
dev_dependencies:
3434
flutter_lints: ^3.0.1

0 commit comments

Comments
 (0)
0