Giter Site home page Giter Site logo

playing_cards's People

Contributors

alabasteraxe avatar bedardjo avatar michaelgundlach avatar mrvisioo avatar outdatedguy 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

Watchers

 avatar  avatar  avatar

playing_cards's Issues

Joker card not rendered properly

Issue

The JOKER text is not completely rendered and gets cut off.

Proposed Solution

Decrease font size a little and render text vertically, like :-

J
O
K
E
R

Screenshots

Android iPhone
Screenshot_1679143809 Simulator Screen Shot - iPhone 14 Pro Max - 2023-03-18 at 18 21 56

Very washed out cards

Love this package! Thanks for making it.
When I try to test rendering a card, I get one that is very washed out. Any ideas?
Cheers
Screen Shot 2022-08-17 at 10 33 41 am

Dark mode

How can i have dark mode for the cards?

view of deck

Hi there!
I'm VERY new to flutter development and this package has been SO helpful in programming my current app. My suggestion is this: a deck widget that shows a sideview of the deck of 52 cards that changes height based on how many cards are in it (if you draw from a deck, the deck grows smaller). The playing cards wouldn't actually be IN this deck, they'd be drawn from the standard deck of 52 and then the view would rerender based on the number of cards left in that standard deck. I just don't know how to do something like this and i've tried for too long

FlatCardFan crashes when there is one card

Summary
FlatCardFan crashes when there is only one card.

Library version
0.3.1+9

How to reproduce
The following code does not render any card:

FlatCardFan( children: [ PlayingCardView( card: PlayingCard(Suit.hearts, CardValue.ace)), ], )

Analysis
I noticed that the source code for the library version 0.3.1+9 comes from the branch null-safety-impl. In this branch FlatCardFan performs a division by zero which is the cause of the bug.

However, the master branch fixes this bug with a nice ternary operator!

Question

My assumption is that the branch null-safety-impl is what is released on pub.dev, while master branches contains yet to be released functionalities (sorry in case this assumption from my side is wrong).

Given the above assumption, I was wondering if it was possible to merge the master version of FlatCardFan into the null-safety-impl branch. If you think it is fine, I am very happy to do the pull request myself.

Thank you

Notes
Thank you very much for maintaining this library. I have been using it since some days and I like it very much.

Error

I am getting a lot of error about null Safety. Quit New to Flutter, so may be you could advise on the same.

Request for Sorting & Drag and Drop

HI ,
There are 2 issue .
1 : I have tried the card using Draggable widget . but there is delay in dragging .
2 : kept in ReorderListView too.but there is delay in dragging .

Request for Enhancement:
Can you enhance the Sorting and dragging card ?

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.