Skip to content

AliDeeb/next-prev-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next Prev Action

next prev action is a flutter widget that presents a 3d button with callbacks for previous and next step.

Example

preview.mp4
NextPrevButton(
          width: MediaQuery.of(context).size.width * .55,
          height: 70,
          color: const Color.fromARGB(255, 6, 91, 219),
          borderRadius: 20,
          padding: const EdgeInsets.symmetric(horizontal: 25),
          onPrevTap: () {
            print("Prev");
          },
          onNextTap: () {
            print("Next");
          },
        ),
  • width - The width of the button.
  • height - The height of the button.
  • color - The color of the button.
  • borderRadius - The borderRadius of the button.
  • padding - The padding around the button.
  • onPrevTap - Tap callback for prev step.
  • onNextTap - Tap callback for next step.

Connect with me

LinkedIn

Built with

flutter dart

Contributions

All contributions are welcome!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published