openkraken / kraken
- суббота, 24 апреля 2021 г. в 00:28:29
A high-performance, web standards-compliant rendering engine based on Flutter.
Install Kraken CLI (macOS only currently)
$ npm i @openkraken/cli -gOpen with kraken
# kraken [localfile|URL]
$ kraken https://raw.githubusercontent.com/openkraken/kraken/master/kraken/example/assets/bundle.jsQuick development
Compatibility with web standards means you don't have to change your stack.
const text = document.createTextNode('Hello World!');
document.body.appendChild(text);Cross platform
Seamless integration with Flutter, supports web, mobile (iOS, Android) and desktop (MacOS, Linux, Windows).
Fast performance
Provide native-like performance such as navigation, animation and infinite list scrolling.
By contributing to Kraken, you agree that your contributions will be licensed under its Apache-2.0 License.
Prerequisites
kraken/pubspec.yaml20.0.5594570 or later (Running on Android)Install
$ npm installBuilding bridge
Building bridge for all supported platform (macOS, iOS, Android)
$ npm run build:bridge:allBuilding bridge for one platform
macOS
$ npm run build:bridge:macosiOS
$ npm run build:bridge:iosAndroid
For Windows users, make sure that running this command under MINGW64 environment(eg. Git Bash).
$ npm run build:bridge:androidStart example
$ cd kraken/example
$ flutter runTest (Unit Test and Integration Test)
$ npm test