live_activity_kit 0.1.0
live_activity_kit: ^0.1.0 copied to clipboard
Build iOS Live Activities and Dynamic Island widgets from Dart. Component DSL, SwiftUI renderer, ActivityKit, App Groups and APNs push updates — no Swift code.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate live_activity_kitUse it
The package has the following executables:
$ setup
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add live_activity_kitThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
live_activity_kit: ^0.1.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:live_activity_kit/live_activity_kit.dart';