tournament_bracket 0.0.4 copy "tournament_bracket: ^0.0.4" to clipboard
tournament_bracket: ^0.0.4 copied to clipboard

A package for create tournament bracket.

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) {

        }),
);
2
likes
125
points
45
downloads

Publisher

unverified uploader

Weekly Downloads

A package for create tournament bracket.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, touchable

More

Packages that depend on tournament_bracket