FLUTTER ECOSYSTEM

matwright/flutter_3d_choice_chip

Este pacote fornece um chip de escolha 3D simples para uso em aplicativos Flutter.

Capa do projeto flutter_3d_choice_chip
Stars
4
Forks
0
Último push (UTC)
20 de set. de 2021
Status do projeto
Ativo
Matthew Wright GitHub avatar
GITHUB User

Matthew Wright ↗

Concepteur-Développeur Web/Mobile Flutter l Firebase | Unity | Web

Campfire DigitalBourg En Bresse, FranceSite oficial ↗
LinguagensDart

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

flutter_3d_choice_chip

This package provides a simple 3D choice chip.

https://raw.githubusercontent.com/matwright/flutter_3d_choice_chip/main/example/flutter_3d_choice_chip.webp

Getting Started

Import the file.

import 'package:flutter_3d_choice_chip/flutter_3d_choice_chip.dart';
Use with default style:
ChoiceChip3D(
  style: ChoiceChip3DStyle.blue, // ChoiceChip3DStyle.red, ChoiceChip3DStyle.white
  selected: true,
  onSelected: () {},
  onUnSelected: () {},
  child: Text("My Choice"),
);
Use with custom style:
ChoiceChip3D(
  style: ChoiceChip3dStyle(
      topColor: Colors.lightGreen,
      backColor: Colors.deepOrange,
      borderRadius: BorderRadius.zero
  ),
  onSelected: () {},
  onUnSelected: () {},
  child: Text("My Choice"),
);
Credit

Flutter 3D Choice Chip was inspired by button3d