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
1a73761f
Commit
1a73761f
authored
Sep 18, 2023
by
Nagahawatta S.S
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Component 3 First 2 pages
parent
391cc15c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
0 deletions
+58
-0
Frontend/lib/pages/Comp3/Comp3Page1.dart
Frontend/lib/pages/Comp3/Comp3Page1.dart
+29
-0
Frontend/lib/pages/Comp3/Comp3Page2.dart
Frontend/lib/pages/Comp3/Comp3Page2.dart
+29
-0
No files found.
Frontend/lib/pages/Comp3/Comp3Page1.dart
0 → 100644
View file @
1a73761f
import
'package:Autism/widgets/ButtonXl.dart'
;
import
'package:flutter/material.dart'
;
import
'package:Autism/MyStyles.dart'
as
MyStyles
;
class
Comp3Page1
extends
StatefulWidget
{
const
Comp3Page1
({
super
.
key
});
@override
State
<
Comp3Page1
>
createState
()
=>
_Comp3Page1State
();
}
class
_Comp3Page1State
extends
State
<
Comp3Page1
>
{
@override
Widget
build
(
BuildContext
context
)
{
void
nextPage
(
String
route
)
{
Navigator
.
pushNamedAndRemoveUntil
(
context
,
route
,(
r
)
=>
false
,
arguments:
{});
}
return
Column
(
children:
[
SizedBox
(
width:
180
,
child:
Image
.
asset
(
'assets/images/Component 3 - img 01.png'
)
),
SizedBox
(
height:
30
,),
ButtonXL
(
route:
'/Comp3Page2'
,
title:
'ආරම්භ කරන්න'
,
bg:
MyStyles
.
cbtnPrimary
),
],
);
}
}
Frontend/lib/pages/Comp3/Comp3Page2.dart
0 → 100644
View file @
1a73761f
import
'package:Autism/widgets/ButtonXl.dart'
;
import
'package:Autism/widgets/Instructions.dart'
;
import
'package:flutter/material.dart'
;
import
'package:Autism/MyStyles.dart'
as
MyStyles
;
class
Comp3Page2
extends
StatefulWidget
{
const
Comp3Page2
({
super
.
key
});
@override
State
<
Comp3Page2
>
createState
()
=>
_Comp3Page2State
();
}
class
_Comp3Page2State
extends
State
<
Comp3Page2
>
{
@override
Widget
build
(
BuildContext
context
)
{
void
nextPage
(
String
route
)
{
Navigator
.
pushNamedAndRemoveUntil
(
context
,
route
,(
r
)
=>
false
,
arguments:
{});
}
return
Column
(
children:
[
SizedBox
(
height:
10
,),
Instructions
(
title:
'උපදෙස්'
,
body:
'ඊලග පියවරට බොත්තම එබිමෙන් පසුව දී පින්තුර ඇසුරෙන් ලමයාගෙන් ප්රශ්න අසන්න. පිලිතුර පටිගත කිරීමට මයික්රෆොනය සලකුන ඔබන්න. පටිගත කිරිම අවසන් වු පසු ඊතල සලකුන ඔබා ප්රතිපල පිටුවට පිවිසෙන්න.'
,),
SizedBox
(
height:
30
,),
ButtonXL
(
route:
'/Comp3Page3'
,
title:
'ඊලග පියවරට'
,
bg:
MyStyles
.
cbtnPrimary
),
],
);
}
}
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