Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ASD_Detection
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2023-161
ASD_Detection
Commits
d3243fde
Commit
d3243fde
authored
Sep 18, 2023
by
Nagahawatta S.S
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Component 3 Question Page
parent
1a73761f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
0 deletions
+49
-0
Frontend/lib/pages/Comp3/Comp3Page3.dart
Frontend/lib/pages/Comp3/Comp3Page3.dart
+49
-0
No files found.
Frontend/lib/pages/Comp3/Comp3Page3.dart
0 → 100644
View file @
d3243fde
import
'package:Autism/widgets/ButtonXl.dart'
;
import
'package:flutter/material.dart'
;
import
'package:Autism/MyStyles.dart'
as
MyStyles
;
class
Comp3Page3
extends
StatefulWidget
{
const
Comp3Page3
({
super
.
key
});
@override
State
<
Comp3Page3
>
createState
()
=>
_Comp3Page3State
();
}
class
_Comp3Page3State
extends
State
<
Comp3Page3
>
{
@override
Widget
build
(
BuildContext
context
)
{
void
nextPage
(
String
route
)
{
Navigator
.
pushNamedAndRemoveUntil
(
context
,
route
,(
r
)
=>
false
,
arguments:
{});
}
return
Column
(
children:
[
SizedBox
(
height:
30
,),
ButtonXL
(
route:
'/Comp3Page4'
,
title:
'ප්රශ්නය 01'
,
bg:
MyStyles
.
cbtnPrimary
,
arguments:
{
'text'
:
'පුතා කවුරු එක්කද ආවේ?'
,
'audio'
:
'assets/comthree/Answer1.wav'
,
'image'
:
'assets/comthree/1.png'
}
),
SizedBox
(
height:
30
,),
ButtonXL
(
route:
'/Comp3Page4'
,
title:
'ප්රශ්නය 02'
,
bg:
MyStyles
.
cbtnPrimary
,
arguments:
{
'text'
:
'මේ පින්තුරයේ ඇති බොලයේ පාට මොකක්ද?'
,
'audio'
:
'assets/comthree/Answer2.wav'
,
'image'
:
'assets/comthree/2.jpg'
}
),
SizedBox
(
height:
30
,),
ButtonXL
(
route:
'/Comp3Page4'
,
title:
'ප්රශ්නය 03'
,
bg:
MyStyles
.
cbtnPrimary
,
arguments:
{
'text'
:
'මේ පින්තුරයේ ඇති වාහනය මොකක්ද?'
,
'audio'
:
'assets/comthree/Answer3.wav'
,
'image'
:
'assets/comthree/3.jpg'
}
),
SizedBox
(
height:
30
,),
ButtonXL
(
route:
'/Comp3Page4'
,
title:
'ප්රශ්නය 04'
,
bg:
MyStyles
.
cbtnPrimary
,
arguments:
{
'text'
:
'පුතාට මොනවද බොන්න ඕනෙ?'
,
'audio'
:
'assets/comthree/Answer4.wav'
,
'image'
:
'assets/comthree/4.jpg'
}
),
SizedBox
(
height:
30
,),
ButtonXL
(
route:
'/Comp3Page4'
,
title:
'ප්රශ්නය 05'
,
bg:
MyStyles
.
cbtnPrimary
,
arguments:
{
'text'
:
'මේ පින්තුරේ ඉන්නෙ කවුද?'
,
'audio'
:
'assets/comthree/Answer5.wav'
,
'image'
:
'assets/comthree/5.png'
}
),
SizedBox
(
height:
30
,),
ButtonXL
(
route:
'/Results'
,
title:
'අවසාන ප්රතිඵලය'
,
bg:
MyStyles
.
cbtnPrimary
,
arguments:
{
'text'
:
''
,
'audio'
:
''
,
'image'
:
''
}
),
SizedBox
(
height:
30
,),
],
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment