mosaic_widgets 0.2.0 copy "mosaic_widgets: ^0.2.0" to clipboard
mosaic_widgets: ^0.2.0 copied to clipboard

Build native iOS and Android home-screen widgets, lock-screen widgets, and Live Activities from a single Flutter-style Dart DSL.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate mosaic_widgets

Use it

The package has the following executables:

$ mosaic

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add mosaic_widgets

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  mosaic_widgets: ^0.2.0

Alternatively, 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:mosaic_widgets/mosaic_widgets.dart';
1
likes
160
points
212
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Build native iOS and Android home-screen widgets, lock-screen widgets, and Live Activities from a single Flutter-style Dart DSL.

Repository (GitHub)
View/report issues

Topics

#home-widget #widget #ios #android #live-activities

License

MIT (license)

Dependencies

args, flutter, json_annotation, path, yaml

More

Packages that depend on mosaic_widgets