Giter Site home page Giter Site logo

jaweii / flutter_beautiful_popup Goto Github PK

View Code? Open in Web Editor NEW
673.0 673.0 91.0 21.61 MB

A flutter package help you beautify your app popups.

Home Page: https://jaweii.github.io/Flutter_beautiful_popup/example/build/web/

License: BSD 3-Clause "New" or "Revised" License

Kotlin 0.02% HTML 0.01% Swift 0.01% Objective-C 0.01% Dart 1.92% Ruby 0.05% JavaScript 97.99%

flutter_beautiful_popup's People

Contributors

javonnem avatar jaweii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flutter_beautiful_popup's Issues

Content hidden by keyboard

Hey,
i want to make a login popup but the content gets hidden by the keyboard.

Here is the code:

final popup = BeautifulPopup(
    context: context,
    template: TemplateSuccess,
  );
  popup.show(
    title: 'Melde dich an',
    content: Column(
      children: <Widget>[
        Container(
            child: TextField(
          autofocus: true,
          controller: username,
          decoration: InputDecoration(labelText: "Gebe deinen Nutzername ein."),
        )),
        // TODO: Add password
      ],
    ),
    actions: [
      popup.button(
        label: 'Einloggen',
        onPressed: () {
          // TODO: Add login
        },
      ),
    ],
  );

Here are some pictures:
Screenshot_20200229-230020
Screenshot_20200229-230749

Best regards
Elias

ios build fail

lib/main.dart:7:8: Error: Not found: 'dart:js'
import 'dart:js' as js;

Add new property into label button

Can you add labelStyle into popup.button. (with TextStyle class)

popup.button(
label: 'Go Home',
labelStyle: TextStyle(fontSize: 20),
onPressed: Navigator.of(context).pop,
outline: false),
]);

build issue

Error: The getter 'subhead' isn't defined for the class 'TextTheme'.

  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../../development/flutter/packages/flutter/lib/src/material/text_theme.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'subhead'.
    Theme.of(options.context).textTheme.subhead?.fontSize ?? 12,

Want to know images

Please tell me about images you used in your packages, I want to use in my app but not in popup, Can you tell me from where you downloaded this images?

Dark Theme

Hello,

I use beautiful_popup in my App and I included a dark theme. But the Popup doesn't recognize that. How can I edit the code, that the popup follows the dark theme?
Or if that is not possible, how can I change the background color and content color manually?

Thanks for help!

Support for Dart 2.12 null safety

Any plans to support the latest Dart Null Safety? I'm getting the following dependency error when trying to use this package.

Because image >=2.0.4 <2.1.14 depends on archive >=1.0.16 <3.0.0 and archive ^1.0.2 requires SDK version <2.0.0, image >=2.0.4 <2.1.14 requires archive ^2.0.0. And because image >=2.1.14 <3.0.0-nullsafety.0 depends on archive ^2.0.0 and every version of flutter_beautiful_popup depends on image ^2.1.4, every version of flutter_beautiful_popup requires archive ^2.0.0. And because archive >=2.0.0 <3.0.0-nullsafety.0 depends on crypto ^2.0.0 and uuid >=3.0.0 depends on crypto ^3.0.0, flutter_beautiful_popup is incompatible with uuid >=3.0.0.

Height of default templates

How to change the height of default templates.
Existing templates height is so big. Can it be based on text size of title and content?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.