emergency_helpline 0.0.4
emergency_helpline: ^0.0.4 copied to clipboard
A Flutter package providing emergency numbers for countries like Pakistan, USA, India, etc.
🚨 Emergency Helpline (Flutter / Dart Package) #
A Flutter/Dart package that provides emergency contact numbers (Police, Ambulance, Fire Brigade, etc.) for countries around the world — including Pakistan (15, 1122, 16), USA (911), and many more.
There are 136+ countries/regions with emergency helpline information available in this.
This package makes it easy to build emergency contact apps or display numbers for quick-dial purposes.
📦 Features #
- Get emergency numbers by country code (ISO Alpha-2 → “PK”, “US”, etc.)
- Includes Police, Ambulance, Fire
- Lightweight & offline (no API required)
- 100% Dart — works with Flutter & pure Dart
- Easy to extend for more countries
📥 Installation #
Add the package to your pubspec.yaml:
dependencies:
emergency_helpline: ^0.0.4
Then run: flutter pub get
🌍 Supported Countries (Sample) #
There are 136+ countries/regions with emergency helpline information available in this package.
| Country | Code | Police | Ambulance | Fire |
|---|---|---|---|---|
| Pakistan | PK | 15 | 1122 | 16 |
| USA | US | 911 | 911 | 911 |
| UK | GB | 999 | 999 | 999 |
| India | IN | 112 | 102 | 101 |
| Canada | CA | 911 | 911 | 911 |
More countries will be added over time.
🧩 Example App #
A full example is available in the example tab.
🛠️ Contributing #
Pull requests are welcome!
You can contribute by: Adding emergency numbers for more countries
Improving data accuracy
Adding country flags
Adding region-level emergency numbers
Fork the repo and create a pull request.
📄 License #
This package is released under the MIT License. You are free to use, modify, and distribute it.
❤️ Author #
Talha Rehman (@talharehmandev) #
Flutter Developer Pakistan
If you use this package in your app, feel free to share the link with me!