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!
- Fork the repo
- Create your feature branch
- Commit your changes
- Open a Pull Request
β€οΈ Support
If you like this package, give it a β on pub.flutter-io.cn and share it!