FLUTTER ECOSYSTEM

TeaTalkInternal/favorite_button

O botão Favorito é uma biblioteca do Flutter que permite criar botões favoritos com formato de coração e estrela, com efeitos de animação também

Capa do projeto botão favorito
Stars
13
Forks
5
Último push (UTC)
4 de mai. de 2021
Status do projeto
Ativo
Tea Talk GitHub avatar
GITHUB Organization

Tea Talk ↗

LinguagensDartSwiftKotlinObjective-C

Tópicos técnicos

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 2 itens
  • flutter{"sdk":"flutter"}
  • flutter_testDesenvolvimento{"sdk":"flutter"}

README original

Texto original em inglês. Visite o GitHub para a versão atual.

Expandir / recolher README

favorite_button

Language: English

Favorite Button is a flutter library that allows you to create heart and star shaped favorite featured buttons with animation effects too.

https://github.com/TeaTalkInternal/github_assets/blob/master/gifs/video-to-gif-converter.gif

How to use it.

the default effects is Icons.favorite

  FavoriteButton(
            valueChanged: (_) {
            },
          ),

and you can also define custom effects.

 FavoriteButton(
            valueChanged: (_isFavorite) {
              print('Is Favorite $_isFavorite)');
            },
          )

parameters

parameter description default
iconSize size of button widget 60.0
iconColor color of button widget red for heart and yellow for star button respectively
valueChanged Function that returns boolean value for current state of button This is a required parameter
isFavorite or isStarred Default state of button This is a optional parameter
                                                                                                                                                           |

more detail