This Flutter application showcases the implementation of two stacks using the Flutter framework. It provides a user interface where you can interact with the stacks by pushing and popping elements.
- Two independent stacks with adjustable sizes
- Push elements to either stack
- Pop elements from either stack
- Displays the current stack arrays and the top elements of the stacks
- Error handling for stack overflow and stack underflow conditions
To run the application locally, follow these steps:
- Make sure you have Flutter installed. If not, install Flutter.
- Clone this repository:
git clone https://github.com/your-username/two-stacks-flutter.git
- Navigate to the project directory:
cd two-stacks-flutter
- Run the application:
flutter run
Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.
This application is inspired by the concept of stacks in computer science. It serves as a visual demonstration of stack operations in a Flutter environment.