Skip to content

Commit ffddd2c

Browse files
committed
feat: migrate from openkraken/kraken
1 parent 7244aa5 commit ffddd2c

File tree

380 files changed

+29
-63
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

380 files changed

+29
-63
lines changed

.github/CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions

README.md

Lines changed: 16 additions & 48 deletions
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

kraken/android/src/main/java/com/openkraken/kraken/Kraken.java renamed to webf/android/src/main/java/com/openwebf/webf/Webf.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.openkraken.kraken;
1+
package com.openwebf.webf;
22

33
import android.os.Handler;
44
import android.os.Looper;
@@ -11,7 +11,7 @@
1111
import io.flutter.plugin.common.MethodCall;
1212
import io.flutter.plugin.common.MethodChannel;
1313

14-
public class Kraken {
14+
public class WebF {
1515

1616
private String url;
1717
private String dynamicLibraryPath;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

kraken/example/pubspec.yaml renamed to webf/example/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ environment:
1111
dependencies:
1212
flutter:
1313
sdk: flutter
14-
kraken: ^0.10.0
14+
webf: ^0.10.0
1515
kraken_websocket: ^2.0.0
1616

1717
# When depending on this package from a real application,
@@ -20,7 +20,7 @@ dependencies:
2020
# The example app is bundled with the plugin so we use a path dependency on
2121
# the parent directory to use the current plugin's version.
2222
dependency_overrides:
23-
kraken:
23+
webf:
2424
path: ../
2525

2626
# The following section is specific to Flutter.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

kraken/lib/css.dart renamed to webf/lib/css.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
/*
42
* Copyright (C) 2019-present The Kraken authors. All rights reserved.
53
*/
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

kraken/lib/src/css/object_position.dart renamed to webf/lib/src/css/object_position.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ mixin CSSObjectPositionMixin on RenderStyle {
2222

2323
if (position != null) {
2424
List<String?> values = CSSStyleProperty.getPositionValues(position);
25-
return Alignment(_getAlignmentValueFromString(values[0]!), _getAlignmentValueFromString(values[1]!));
25+
return Alignment(_getAlignmentValueFromString(values[0]!),
26+
_getAlignmentValueFromString(values[1]!));
2627
}
2728

2829
// The default value for object-position is 50% 50%
2930
return Alignment.center;
3031
}
3132

3233
static double _getAlignmentValueFromString(String value) {
33-
3434
// Support percentage
3535
if (value.endsWith('%')) {
3636
// 0% equal to -1.0
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)