compass_pro 1.0.5 copy "compass_pro: ^1.0.5" to clipboard
compass_pro: ^1.0.5 copied to clipboard

A professional compass widget with heading, coordinates, location, and elevation support.

Compass_Pro 🧭 #

A Flutter widget for displaying a beautiful Compass with customizable icons, colors, styles, and more.


✨ Features #

  • 🔄 Real-time compass heading updates
  • 🎨 Customizable UI (icons, styles, and layouts)
  • 📡 Built with flutter_compass, geolocator, and geocoding
  • 🧭 Lightweight & easy to use

📦 Installation #

Add the package to your pubspec.yaml:

dependencies:
  compass_pro: ^1.0.0

Then run:

flutter pub get

Import the package:

import 'package:compass_pro/compass_pro.dart';

📦 Example #

import 'package:compass_pro/compass_pro.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const CompassExampleApp());
}

class CompassExampleApp extends StatelessWidget {
  const CompassExampleApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        appBar: AppBar(title: const Text('Compass Pro Example')),
        body: const Center(
          child: CompassPro(),
        ),
      ),
    );
  }
}

📷 Screenshots #

👨‍💻 Developed By

Md. Noor-Alom Siddik

💡 Contributing #

Contributions are welcome!

  1. Fork the repo
  2. Create your feature branch
  3. Commit your changes
  4. Open a Pull Request

❤️ Support #

If you like this package, give it a ⭐ on pub.dev and share it!

6
likes
140
points
304
downloads

Publisher

unverified uploader

Weekly Downloads

A professional compass widget with heading, coordinates, location, and elevation support.

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_compass, geocoding, geolocator

More

Packages that depend on compass_pro