Skip to content

About

I need to create the feature of the movement of the red square on pressing the buttons (to left, to right)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

🟥 Red Square Movement

🚀 Overview

This project implements the movement of a red square using Flutter. The square moves left or right when clicking the respective buttons, with smooth animation. The buttons are dynamically enabled or disabled based on the square's position.


📌 Features

  • 🏁 Starts in the center of the screen.
  • 🎯 Moves step-by-step to the left or right.
  • ⏳ Smooth animation with a 1-second duration.
  • 🚫 Prevents movement beyond screen edges:
    • Disables the "Move Left" button when at the left edge.
    • Disables the "Move Right" button when at the right edge.
  • 🔒 Both buttons are disabled while moving to prevent interruptions.
  • 🚀 Quality over speed: No strict deadline—focus on clean and maintainable code.
  • 🌍 Deployed via GitHub Pages and hosted in a GitHub repository.

About

I need to create the feature of the movement of the red square on pressing the buttons (to left, to right)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages