NishchayShakya1/redirect_icon
아름다운 클릭 가능한 아이콘을 만들고 URL로 리디렉션하는 데 도움이 되는 플러터 패키지입니다.
- Stars
- 4
- Forks
- 0
- 최근 푸시(UTC)
- 2022. 5. 30.
- 프로젝트 상태
- 활성
기술 주제
사용 중인 의존성
의존성 목록 6 개
- dartdoc
^5.1.2 - flutter
{"sdk":"flutter"} - url_launcher
^6.0.12 - flutter_test개발 의존성
{"sdk":"flutter"} - flutter_lints개발 의존성
^2.0.0 - lints개발 의존성
^2.0.0
원본 README
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
README 펼치기 / 접기
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
|
https://raw.githubusercontent.com/NishchayShakya1/images/main/Untitled%20design.png |
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>