redirect_icon
A flutter Package that helps in building beautiful clickable icons which redirects to a Url.
- Stars
- 4
- Forks
- 0
- Last push (UTC)
- May 30, 2022
- Project status
- Active
Original README
English project snapshot. Visit GitHub for the latest content.
Redirect Icon
Redirect Icon package lets you add a beautiful clickable Icon to your Flutter app.
Installation
- Add the latest version of package to your pubspec.yaml (and run
dart pub get):
dependencies:
redirect_icon: ^0.0.1
- Import the package and use it in your Flutter App.
import 'package:redirect_icon/redirect_icon.dart';
Example
There are a number of properties that you can modify:
- url
- icon
- radius
- size
- iconColor
- circleAvatarColor
|
|
Getting Error
Add these in your android/app/src/main/AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.yourpackagename">
<uses-permission android:name="android.permission.INTERNET"/>
<queries>
<!-- If your app opens https URLs -->
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="https" />
</intent>
<!-- If your app makes calls -->
<intent>
<action android:name="android.intent.action.DIAL" />
<data android:scheme="tel" />
</intent>
<!-- If your app emails -->
<intent>
<action android:name="android.intent.action.SEND" />
<data android:mimeType="*/*" />
</intent>
</queries>
</manifest>
Categories
Dependencies used
Dependency list 6 items
- dartdoc
^5.1.2 - flutter
{"sdk":"flutter"} - url_launcher
^6.0.12 - flutter_testDevelopment
{"sdk":"flutter"} - flutter_lintsDevelopment
^2.0.0 - lintsDevelopment
^2.0.0
How do I choose a repository?
Start with your use case, compare repository activity, and check the original project before adopting it.
- Search by repository name, owner or description, then narrow the results by topic.
- Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
- Read the README, license and issues on GitHub before using a project.
Sources and maintenance
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗