generated from cepdnaclk/eYY-3yp-project-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from cepdnaclk/main
just add a user guide page and button
- Loading branch information
Showing
4 changed files
with
103 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
class UserGuide extends StatelessWidget { | ||
const UserGuide({Key? key}) : super(key: key); | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return Scaffold( | ||
appBar: AppBar( | ||
title: const Text("User Guide"), | ||
), | ||
body: Padding( | ||
padding: const EdgeInsets.all(16.0), | ||
child: Column( | ||
crossAxisAlignment: CrossAxisAlignment.start, | ||
children: [ | ||
Text( | ||
'Welcome to the Chess Game User Guide!', | ||
style: TextStyle( | ||
fontSize: 24, | ||
fontWeight: FontWeight.bold, | ||
), | ||
), | ||
SizedBox(height: 16), | ||
Text( | ||
'1. Overview', | ||
style: TextStyle( | ||
fontSize: 18, | ||
fontWeight: FontWeight.bold, | ||
), | ||
), | ||
SizedBox(height: 8), | ||
Text( | ||
'Learn how to make moves, customize settings, and enjoy the game.', | ||
), | ||
SizedBox(height: 16), | ||
Text( | ||
'2. Making Moves', | ||
style: TextStyle( | ||
fontSize: 18, | ||
fontWeight: FontWeight.bold, | ||
), | ||
), | ||
SizedBox(height: 8), | ||
Text( | ||
'To make a move, tap on a chess piece and then tap on the destination square.', | ||
), | ||
SizedBox(height: 16), | ||
Text( | ||
'3. Customizing Settings', | ||
style: TextStyle( | ||
fontSize: 18, | ||
fontWeight: FontWeight.bold, | ||
), | ||
), | ||
SizedBox(height: 8), | ||
Text( | ||
'Explore the settings to customize your chessboard appearance and game preferences.', | ||
), | ||
SizedBox(height: 16), | ||
Text( | ||
'4. Enjoy the Game!', | ||
style: TextStyle( | ||
fontSize: 18, | ||
fontWeight: FontWeight.bold, | ||
), | ||
), | ||
SizedBox(height: 8), | ||
Text( | ||
'Connect with friends, play chess, and have fun!', | ||
), | ||
], | ||
), | ||
), | ||
); | ||
} | ||
} |