Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Able to use Widget instead Icon types #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ra-develop
Copy link

Task: Able to use IconImage instead Icon types. Flexibile change of color and size of parentButton and FinalButton.
Decision:

  1. Minor changes of parameters declaration with change Icon to WIdget class type

  2. Change of animation for parent button when called FloatingActionButton for rendering of parent button
    Result:

  3. Able use ani Icon images for FAB

  4. Possibilities change of color, size and other setting for icons which used for parent button
    Example:

    return UnicornDialer(
    parentButtonBackground: Colors.white,
    orientation: UnicornOrientation.VERTICAL,
    parentButton: ImageIcon(
    AssetImage("images/icons/creaz nuovi contenuti.png"),
    size: 40,
    color: Colors.black,
    ),
    finalButtonIcon: ImageIcon(
    AssetImage("images/icons/x cancella.png"),
    size: 40,
    color: Colors.black,
    ),
    childButtons: childButtons);

Task: Able to use IconImage instead Icon types. Flexibile change of color and size of parentButton and FinalButton.
Decision: 
1. Minor changes of parameters declaration with change Icon to WIdget class type 
2. Change of animation for parent button when called FloatingActionButton for rendering of parent button
Result: 
1. Able use ani Icon images for FAB
2. Possibilities change of color, size and other setting for icons which used for parent button
Example:

   return UnicornDialer(
            parentButtonBackground: Colors.white,
            orientation: UnicornOrientation.VERTICAL,
            parentButton: ImageIcon(
                        AssetImage("images/icons/creaz nuovi contenuti.png"),
                        size: 40,
                        color: Colors.black,
            ),
            finalButtonIcon: ImageIcon(
                        AssetImage("images/icons/x cancella.png"),
                        size: 40,
                        color: Colors.black,
            ),
            childButtons: childButtons);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant