Add titles to speech abnormality pages.

parent e8679a76
......@@ -43,43 +43,43 @@ class MyApp extends StatelessWidget {
appbar: false,
),
'/home': (context) => MyTemplate(
title: 'මුල්ම පියවර',
title: 'මුල්ම පියවර-ආරම්භක පිටුව',
child: Home(),
bg: MyStyles.cPrimary,
appbar: true,
),
'/Comp1Welcome': (context) => MyTemplate(
title: 'පළමු කාර්යය',
title: 'මුල්ම පියවර-කථන අසාමාන්‍යතාවයන් හදුනා ගැනීම',
child: Comp1Welcome(),
bg: MyStyles.cPrimary,
appbar: true,
),
'/Comp1Intro': (context) => MyTemplate(
title: 'පළමු කාර්යය',
title: 'මුල්ම පියවර-කථන අසාමාන්‍යතාවයන් හදුනා ගැනීම',
child: Comp1Intro(),
bg: MyStyles.cPrimary,
appbar: true,
),
'/Comp1Step1First': (context) => MyTemplate(
title: 'පළමු කාර්යය',
title: 'මුල්ම පියවර-කථන අසාමාන්‍යතාවයන් හදුනා ගැනීම',
child: Comp1Step1First(),
bg: MyStyles.cPrimary,
appbar: true,
),
'/Comp1Step1Second': (context) => MyTemplate(
title: 'පළමු කාර්යය',
title: 'මුල්ම පියවර-කථන අසාමාන්‍යතාවයන් හදුනා ගැනීම',
child: Comp1Step1Second(),
bg: MyStyles.cPrimary,
appbar: true,
),
'/Comp1Step1Third': (context) => MyTemplate(
title: 'පළමු කාර්යය',
title: 'මුල්ම පියවර-කථන අසාමාන්‍යතාවයන් හදුනා ගැනීම',
child: Comp1Step1Third(),
bg: MyStyles.cPrimary,
appbar: true,
),
'/Comp1Step2': (context) => MyTemplate(
title: 'පළමු කාර්යය',
title: 'මුල්ම පියවර-කථන අසාමාන්‍යතාවයන් හදුනා ගැනීම',
child: Comp1Step2(),
bg: MyStyles.cPrimary,
appbar: true,
......
......@@ -12,18 +12,36 @@ class Comp1Welcome extends StatefulWidget {
class _Comp1WelcomeState extends State<Comp1Welcome> {
@override
Widget build(BuildContext context) {
void nextPage(String route) {
Navigator.pushNamedAndRemoveUntil(context, route,(r) => false, arguments: {});
Navigator.pushNamedAndRemoveUntil(context, route, (r) => false,
arguments: {});
}
return Column(
children: [
SizedBox(width: 180,child:
Image.asset('assets/images/Component 1 - img 01.png')
children: [
Text(
'කථන අසාමාන්‍යතාවයන් හදුනා ගැනීම',
style: TextStyle(
fontSize: 30.0,
fontWeight: FontWeight.bold,
color: MyStyles.cWhite,
),
),
SizedBox(
width: 250,
height: 10,
),
SizedBox(
width: 180,
child: Image.asset('assets/images/Component 1 - img 01.png')),
SizedBox(
height: 30,
),
SizedBox(height: 30,),
ButtonXL(route: '/Comp1Intro', title: 'ආරම්භ කරන්න', bg: MyStyles.cbtnPrimary),
],
ButtonXL(
route: '/Comp1Intro',
title: 'ආරම්භ කරන්න',
bg: MyStyles.cbtnPrimary),
],
);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment