All Projects → Amitbhave → flutter-simple-url-preview

Amitbhave / flutter-simple-url-preview

Licence: MIT license
Simple url preview package for flutter

Programming Languages

C++
36643 projects - #6 most used programming language
dart
5743 projects
ruby
36898 projects - #4 most used programming language
c
50402 projects - #5 most used programming language
Batchfile
5799 projects
swift
15916 projects

Projects that are alternatives of or similar to flutter-simple-url-preview

DevHelpBox
we are creating this community so that other developers can get benefits of it.
Stars: ✭ 35 (+16.67%)
Mutual labels:  hacktoberfest2020
Data-Structures-and-Algorithms
This repository contains data structure programs and solutions [ in C++] of a problem using different techniques like Dynamic Programming , Greedy Algorithms , Divide and Conquer , Backtracking etc.
Stars: ✭ 31 (+3.33%)
Mutual labels:  hacktoberfest2020
potigol.github.io
Site da Linguagem Potigol
Stars: ✭ 68 (+126.67%)
Mutual labels:  hacktoberfest2020
fullscreen-card
Make your Home Assistant browser fullscreen with one tap.
Stars: ✭ 23 (-23.33%)
Mutual labels:  hacktoberfest2020
kossiitkgp.github.io
Website of KOSS
Stars: ✭ 29 (-3.33%)
Mutual labels:  hacktoberfest2020
FinalYear-Project-Ideas
Instead of just adding your name and email, why not create a list of project ideas?
Stars: ✭ 429 (+1330%)
Mutual labels:  hacktoberfest2020
rx shared preferences
🌀 Shared preferences with RxDart Stream observation ⚡️ Reactive shared preferences for Flutter 🌸Reactive stream wrapper around SharedPreferences 🍄 Lightweight and easy-to-use 🌱 A reactive key-value store for Flutter projects. Like shared_preferences, but with Streams 📕 Rx Shared Preferences for Flutter 🌿 rx_shared_preferences 🌰 rx_shared_prefere…
Stars: ✭ 36 (+20%)
Mutual labels:  flutter-package
kubetools
Kubetools - Curated List of Kubernetes Tools
Stars: ✭ 674 (+2146.67%)
Mutual labels:  hacktoberfest2020
GrowGreen
Grow Green Web App allows users worldwide to create awareness about the environment and do their bit by contributing.
Stars: ✭ 51 (+70%)
Mutual labels:  hacktoberfest2020
camunda-external-task-client-python3
Camunda External Task Client in Python
Stars: ✭ 43 (+43.33%)
Mutual labels:  hacktoberfest2020
scrollytell
Cross-platform Scrolly Telling library built using Flutter.
Stars: ✭ 46 (+53.33%)
Mutual labels:  flutter-package
cpalgorithms
Algorithms and Techniques for competitive programming
Stars: ✭ 16 (-46.67%)
Mutual labels:  hacktoberfest2020
glassmorphism
Glassmorphic UI Package For Flutter || UI ||
Stars: ✭ 45 (+50%)
Mutual labels:  flutter-package
servable
"simple" observable implementation based off RxJS & kefir Docs
Stars: ✭ 14 (-53.33%)
Mutual labels:  hacktoberfest2020
fancy bar
A fancy yet beautiful animated widget for your Flutter apps
Stars: ✭ 33 (+10%)
Mutual labels:  flutter-package
webdrivermanager
Python module to facilitate downloading and deploying WebDriver binaries for Chrome, Firefox, Opera & Edge
Stars: ✭ 94 (+213.33%)
Mutual labels:  hacktoberfest2020
getfem
Mirror of GetFEM repository
Stars: ✭ 23 (-23.33%)
Mutual labels:  hacktoberfest2020
route transitions
A flutter library containing useful animations and friendly functions for routing 🚦
Stars: ✭ 43 (+43.33%)
Mutual labels:  flutter-package
awesome-ufma
Uma lista de provas das disciplinas ministradas na Universidade Federal do Maranhão.
Stars: ✭ 63 (+110%)
Mutual labels:  hacktoberfest2020
flutter bottom reveal
An animated bottom reveal widget
Stars: ✭ 15 (-50%)
Mutual labels:  flutter-package

simple_url_preview

likes pub points popularity

Flutter package to show url preview

In Action

Getting Started

This shows url preview of a URL. (Now migrated to null-safety).

Currently only supports Open Graph Protocol

Please use latest version of the package.

How to use ?

Add simple_url_preview to pubspec.yaml, and hit command 'flutter pub get'

dependencies:
  ...
  simple_url_preview: ^3.0.1

1) Simple use:

SimpleUrlPreview(
  url: 'https://pub.dev/',
),

2) Override preview height, padding.(Default and minimum possible height is 130):

SimpleUrlPreview(
  url: 'https://pub.dev/',
  previewHeight: 200,
  previewContainerPadding: EdgeInsets.all(10),
),

3) Override background color:

Default bgColor = Theme.of(context).primaryColor

SimpleUrlPreview(
  url: 'https://pub.dev/',
  bgColor: Colors.red,
),

4) Override title, description, and site style:

Default titleStyle = TextStyle( fontWeight: FontWeight.bold, fontSize: 16, color: Theme.of(context).accentColor )

Default descriptionStyle = TextStyle( fontSize: 14, color: Theme.of(context).accentColor )

Default siteNameStyle = TextStyle( fontSize: 14, color: Theme.of(context).accentColor )

SimpleUrlPreview(
  url: 'https://pub.dev/',
  titleStyle: TextStyle(
    fontSize: 16,
    fontWeight: FontWeight.bold,
    color: Colors.red,
  ),
  descriptionStyle: TextStyle(
    fontSize: 14,
    color: Theme.of(context).primaryColor,
  ),
  siteNameStyle: TextStyle(
    fontSize: 14,
    color: Theme.of(context).primaryColor,
  ),
),

5) If you want closable preview (Click on x to close the preview.):

SimpleUrlPreview(
  url: 'https://pub.dev/',
  isClosable: true,
),

6) Override image loader color and title and description lines:

Default and maximum title lines = 2 and description lines = 3.

SimpleUrlPreview(
  url: 'https://pub.dev/',
  titleLines: 1,
  descriptionLines: 2,
  imageLoaderColor: Colors.white,
),

7) Override onTap callback of the URL preview:

By Default, will open URL in default browser.

SimpleUrlPreview(
  url: 'https://pub.dev/',
  onTap: () => print('Hello Flutter URL Preview'),
),

Contribution:

Would ❤️ to see any contributions.

Appreciate:

If you liked my work, show some ❤️ by repo.

Also you can appreciate by

Buy Me A Coffee PayPal Logo

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].