🔡Custom Tab Items
Visão Geral
Como Usar
CustomTabItens(
items: ['Tab 1', 'Tab 2', 'Tab 3'],
onIndexChanged: (index) {
print("Tab selecionada: $index");
},
)CustomTabItens(
selectedTextColor: Colors.green,
unselectedTextColor: Colors.amber,
backgroundDecoration: BoxDecoration(
color: Colors.grey.withOpacity(0.2),
border: Border(
bottom: BorderSide(
width: 1,
color: Colors.black.withOpacity(0.1),
),
top: const BorderSide(
width: 1,
color: Colors.white,
),
),
),
items: const [
"Diário",
"Semanal",
"Mensal",
"Anual",
"Outro",
],
onIndexChanged: (int idx) {
log('INDEX CHANGED $idx');
},
),Parâmetros
Detalhes Internos
Considerações Adicionais
Last updated