The simple way to show the user some information on your selected widget.

Overview

Info Popup

The simple way to show the user some information on your selected widget.

Features

  • Info holder with dynamic size
  • Fully editable content area

Alt Text

Planned

  • ☐ Automatic arrow direction calculation feature
  • ☐ Ability to give gap according to the arrow direction

Getting started

Use this package as a Library


Depend On it

Run this command

with Dart:

$ dart pub add info_popup

with Flutter:

$ flutter pub add info_popup

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get or flutter pub get):

dependencies:
  info_popup: ^1.0.0

Usage

All you have to do is wrap it in the widget you want to show information with InfoPopupWidget. With InfoPopupController, you can customize it as you wish, and turn it off and on.

Normal Info Text Using
InfoPopupWidget(
  onControllerCreated: (InfoPopupController controller) {
    controller.show();
  },
  arrowTheme: const InfoPopupArrowTheme(
  arrowDirection: ArrowDirection.down, color: Colors.pink),
  infoText: 'This is a popup',
  child: const Text('Info Popup Info Text Example'),
),
Custom Popup Widget
InfoPopupWidget(
    onControllerCreated: (InfoPopupController controller) {
    controller.show();
  },
  arrowTheme: const InfoPopupArrowTheme(
    color: Colors.black87,
  ),
  infoWidget: Container(
    width: context.screenWidth * .8,
    height: 100,
    decoration: BoxDecoration(
      color: Colors.red,
      borderRadius: BorderRadius.circular(10),
    ),
    child: const Center(
      child: Text(
        'This is a custom widget',
        style: TextStyle(
          color: Colors.white,
        ),
      ),
    ),
  ),
  child: const Text('Info Popup Custom Widget Example'),
),
You might also like...

a mobile app to search for information and watch movie, series and TV show trailers

inWatch Just a clean architecture app, to get trailers and informations of movies, series and TV shows, made with Getx, omdb API and Flutter sdk. The

Nov 10, 2022

Show movie & crews information through network. made by flutter

Show movie & crews information through network. made by flutter

1. Release Google Play App Store 20.03.14 updated Comming Soon 2. REST API https://developers.themoviedb.org/3 3. Screen shot Youtube 4. Design Petter

Dec 12, 2022

Custom_Empty widget is flutter plugin which is designed to notify user about some event.

Custom_Empty widget is flutter plugin which is designed to notify user about some event.

Empty Widget Custom_Empty widget is flutter custom widget which is designed to notify user about some event. Screenshots Screenshots Screenshots Scree

Nov 17, 2022

The easiest way to create your animated splash screen in a fully customizable way.

The easiest way to create your animated splash screen in a fully customizable way.

Animated Splash Screen Check it out at Pub.Dev Do it your way Assets image Custom Widget Url image IconData Or just change PageTransition and/or Splas

Nov 10, 2022

Breaking-bad - Used Flutter with BLoC pattern to show some info

Breaking-bad - Used Flutter with BLoC pattern to show some info

📘 Overview Used Flutter with BLoC pattern to show some info. about my favorite

Dec 10, 2022

Responsive Scaffold - On mobile it shows a list and pushes to details and on tablet it shows the List and the selected item. Maintainer: @rodydavis

Responsive Scaffold - On mobile it shows a list and pushes to details and on tablet it shows the List and the selected item. Maintainer: @rodydavis

responsive_scaffold View the online demo here! On mobile it shows a list and pushes to details and on tablet it shows the List and the selected item.

Dec 2, 2022

In this repo you will see how to pick images from the image library and also, see how to store the selected images on Firebase.

In this repo you will see how to pick images from the image library and also, see how to store the selected images on Firebase.

flutterimageapp Flutter Tutorial - Upload Images using Firebase Storage. Flutter Tutorial - Upload Images using Firebase Storage Video series can be w

Nov 4, 2022

Open source Flutter package, bar indicator made of a series of selected and unselected steps

Open source Flutter package, bar indicator made of a series of selected and unselected steps

Step Progress Indicator Open source Flutter package, bar indicator made of a series of selected and unselected steps. Made by Sandro Maglione, check o

Dec 15, 2022

Show a draggable floating chat icon button and show messages on screens

Show a draggable floating chat icon button and show messages on screens

Show a draggable floating chat icon button and show messages on screens Features A widget for displaying a chat icon (or custom widget) on top of a ba

May 5, 2022
Comments
  • Adding `contentMaxWidth` parameter

    Adding `contentMaxWidth` parameter

    This PR adds a nullable parameter called contentMaxWidth to override the content's max width if it is not null. This is useful when the developer needs more than eighty percent of the visible screen.

    opened by gokhancvs 0
Releases(2.2.0)
  • 2.2.0(Nov 3, 2022)

    2.2.0

    • feature: Added contentMaxWidth prop to InfoPopupWidget

    2.1.3

    • doc: Update README.md

    2.1.2

    • doc: Deployed to hosting to test an example project
    • You can test now! Info Popup

    2.1.0

    • feature: Added indicatorOffset prop to InfoPopupWidget

    2.0.0

    • feature: Added dismiss behavior to info popup
    • feature: Support for inside list items!
    • feature: Added contentOffset prop
    • refactor: Some argument names have been changed (major version bump)
    • fix: Fixed a bug where the popup would not be dismissed when the user tapped outside of it
    • fix: Bottom sheet offset is now calculated correctly in web
    • deprecated: Removed infoText & infoWidget props
    • deprecated: Removed arrowGap & arrowAlignment props

    1.4.0

    • refactor: Improved calculating above and below the target widget remaining area
    • refactor: onControllerCreated now optional
    • refactor: infoText & infoWidget now deprecated, use customTitle & customContent instead
    • feature: Add popup trigger mode PopupTriggerBehavior (default: PopupTriggerBehavior.onTap)
    • refactor: Some code refactoring and name changes
    • feature: Calculate dynamic popup position based on the target widget position
    • feature: Add content SafeArea to indicator

    1.3.0

    • fix: Content overflow on device with small screen
    • feature: Added arrow alignment option by target
    Source code(tar.gz)
    Source code(zip)
Owner
Salih Can
Mobile Application Developer Native Android & Flutter
Salih Can
Create a Flutter User Profile Page UI where you can access and edit your user's information within your Flutter app.

Flutter Tutorial - User Profile Page UI #2 Create a Flutter User Profile Page UI where you can access and edit your user's information within your Flu

Johannes Milke 45 Dec 15, 2022
The prime objective of this app is to store the real time information of the user using firebase cloud firestore and also can delete, remove and update the customer information

crud_firestore A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started i

Muhammad Zakariya 0 Mar 15, 2022
CurrencyConverter - Flutter based application that uses web-scrapping to show currency of selected countries.

CurrencyConverter - Flutter based application that uses web-scrapping to show currency of selected countries.

Dhruv Dholakia 1 Jul 7, 2022
Let's create a complete Flutter User Profile Page with SharedPreferences to persist the user's information in Flutter.

Flutter Tutorial - User Profile & SharedPreferences Let's create a complete Flutter User Profile Page with SharedPreferences to persist the user's inf

Johannes Milke 21 Dec 3, 2022
A Flutter step_tracker plugin is collect information from user and display progress through a sequence of steps. this plugin also have privilege for fully customization from user side. like flipkart, amazon, myntra, meesho.

step_tracker plugin A Flutter step_tracker plugin is collect information from user and display progress through a sequence of steps. this plugin also

Roshan nahak 5 Oct 21, 2022
A showcase app for the Flutter SDK. Wonderous will educate and entertain as you uncover information about some of the most famous structures in the world.

Wonderous Navigate the intersection of history, art, and culture. Wonderous will educate and entertain as you uncover information about some of the mo

gskinner team 2.3k Dec 29, 2022
Connection Notifier - A simple way to notify your user about the connection status.

Connection Notifier A simple way to notify your user about the connection status. Basic Usage: ConnectionNotifier class MyApp extends StatelessWidget

haptome 0 Apr 30, 2022
An easy way to show a flutter custom popup widget.

flutter_easy_popup An easy way to show a flutter custom popup widget. Screenshot Example Screenshot Dropdown Menu App Operation Guide Multi Highlights

BakerJ 42 Oct 26, 2022
A package that gives us a modern way to show animated border as a placeholder while loading our widget with easy customization and ready to use.

A package that gives us a modern way to show animated border as a placeholder while loading our widget with easy customization and ready to use.

Mohit Chauhan 8 Oct 3, 2022