smooth_compass_plus 0.0.1+6 smooth_compass_plus: ^0.0.1+6 copied to clipboard
updated version of smooth compass with animated rotation and custom widgets support for both(android and ios)
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add smooth_compass_plus
With Flutter:
$ flutter pub add smooth_compass_plus
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
smooth_compass_plus: ^0.0.1+6
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:smooth_compass_plus/utils/smooth_compass_plus.dart';
import 'package:smooth_compass_plus/utils/src/compass.dart';
import 'package:smooth_compass_plus/utils/src/compass_ui.dart';
import 'package:smooth_compass_plus/utils/src/qibla_utils.dart';
import 'package:smooth_compass_plus/utils/src/widgets/error_widget.dart';