Skip to content

denzil-muchangi/Card_Game_Layout_Flutter

Repository files navigation

Card Game Layout

This Flutter project demonstrates a simple card game layout using a 2x2 grid. It showcases the use of GridView to arrange four Card widgets with different background colors and labels.

Project Structure

card_game_layout/
├── lib/
│   └── main.dart
├── pubspec.yaml
├── README.md
└── ... (other Flutter project files)
  • lib/main.dart: Contains the main Flutter application code, including the GridView implementation for the card layout.
  • pubspec.yaml: Defines project dependencies and metadata.
  • README.md: This file, providing an overview of the project.

How to Run

  1. Clone the repository:
    git clone <repository_url>
    cd card_game_layout
  2. Get dependencies:
    flutter pub get
  3. Run the application:
    flutter run

This will launch the application on your connected device or emulator, displaying the 2x2 grid of cards.

Screenshot

Here's a screenshot of the application:

Screenshot
App Login Page

About

This Flutter project demonstrates a simple card game layout using a 2x2 grid.

Topics

Resources

Stars

Watchers

Forks