GithubHelp home page GithubHelp logo

victorevox / floating_pullup_card Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 7.0 18.08 MB

A beautiful and custom floating pull up style Card for flutter

License: MIT License

Kotlin 0.85% Swift 0.81% Objective-C 0.07% Dart 98.27%

floating_pullup_card's People

Contributors

victor-geekbears avatar victorevox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

floating_pullup_card's Issues

Issue on Channel stable, 2.5.0,

Here is the errors I'm getting when I try compile my code

Logs:

`
1 warning generated.
../../SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/floating_pullup_card-1.0.0/lib/animated_translate.dart:49:34: Error: The argument type 'Object?' can't be assigned to the parameter type 'double'.

  • 'Object' is from 'dart:core'.
    offset: Offset(0, _offset!.evaluate(animation)),
    ^
    ../../SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/floating_pullup_card-1.0.0/lib/pullup_card.dart:184:14: Error: 'AnimatedScale' is imported from both 'package:flutter/src/widgets/implicit_animations.dart' and 'package:floating_pullup_card/animated_scale.dart'.
    child: AnimatedScale(

    ../../SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/floating_pullup_card-1.0.0/lib/animated_scale.dart:40:22: Error: The argument type 'Object?' can't be assigned to the parameter type 'double'.

  • 'Object' is from 'dart:core'.
    scale: _scale!.evaluate(animation),
    `

Change dragHandleBuilder height/padding.

My app uses a bottom nav bar, which already uses precious space, so it would be a nice feature to change the height/padding of the dragHandleBuilder in pixels.

As you can see in this image, my dragHandleBuilder is only 25 pixels high, but underneath this is what looks to be about 35 extra pixels, which makes for a large bottom chin in my app.

IMG_6446

Avoid SetState

I'm wondering if is possible to manage the states of the FloatingPullUp (hidden, uncollapsed, collapsed) without the setState of the StatefulWidget?

Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null

../../.pub-cache/hosted/pub.dartlang.org/floating_pullup_card-1.1.0/lib/floating_layout.dart:158:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.

  • 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../flutter/packages/flutter/lib/src/widgets/binding.dart').
    WidgetsBinding.instance!.addPostFrameCallback((_) {
    ^
    ../../.pub-cache/hosted/pub.dartlang.org/floating_pullup_card-1.1.0/lib/floating_layout.dart:240:26: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
  • 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../flutter/packages/flutter/lib/src/widgets/binding.dart').
    WidgetsBinding.instance!.addPostFrameCallback((_) {
    ^
    ../../.pub-cache/hosted/pub.dartlang.org/floating_pullup_card-1.1.0/lib/floating_layout.dart:437:22: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
  • 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../flutter/packages/flutter/lib/src/widgets/binding.dart').
    WidgetsBinding.instance!.addPostFrameCallback((timeStamp) {
    ^

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.