This package allow you to easly create tournament bracket for your app
Features
You can easly create tournament bracket using this package
Getting started
First install the pagekage by using cmd
flutter pub add tournament_bracket
Usage
you can use the package
Bracket<Team>(
hadderBuilder: (context, index, count) => Container(
child: Text("Level ${index + 1}")),
containt: all,
teamNameBuilder: (Team t) {
return BracketText(
text: t.name,
textStyle: const TextStyle(
color: Colors.black, fontWeight: FontWeight.bold),
);
},
onContainerTapDown: (Team? model, TapDownDetails tapDownDetails) {
},
onLineIconPress: ((team1, team2, tapDownDetails) {
}),
);