Skip to content

A new Flutter package project for create columns and rows with separators.

License

Notifications You must be signed in to change notification settings

CodeFoxLk/easy_separator

Repository files navigation

Easy Separator

A Flutter package for create columns and rows with separators

All the snippets are from the example project.

Easy Separated Column

Separated Column

EasySeparatedColumn(
        crossAxisAlignment: CrossAxisAlignment.center,
        mainAxisAlignment: MainAxisAlignment.center,
        separatorBuilder: (BuildContext context, int index) {
          return const Text('<Easy Separator>',);
        },
        children: [
          Container(height: 20, color: Colors.purple),
          Container(height: 20, color: Colors.lightBlue),
          Container(height: 20, color: Colors.green),
          Container(height: 20, color: Colors.yellow),
          Container(height: 20, color: Colors.orange),
          Container(height: 20, color: Colors.red),
        ],
      )

Easy Separated Row

Separated Row

EasySeparatedRow(
              separatorBuilder: (BuildContext context, int index) {
                return const RotatedBox(
                    quarterTurns: 3,
                    child: Text(
                      '<Easy Separator>',
                    ));
              },
              children: [
                Container(width: 20, color: Colors.purple),
                Container(width: 20, color: Colors.lightBlue),
                Container(width: 20, color: Colors.green),
                Container(width: 20, color: Colors.yellow),
                Container(width: 20, color: Colors.orange),
                Container(width: 20, color: Colors.red),
              ],
            )

About

A new Flutter package project for create columns and rows with separators.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published