Commit c2ffe57c authored by RSRGJN Ananda's avatar RSRGJN Ananda

Component 2 intro page

parent 07f3f08f
import 'package:Autism/widgets/ButtonXl.dart';
import 'package:flutter/material.dart';
import 'package:Autism/MyStyles.dart' as MyStyles;
class Comp2Page1 extends StatefulWidget {
const Comp2Page1({super.key});
@override
State<Comp2Page1> createState() => _Comp2Page1State();
}
class _Comp2Page1State extends State<Comp2Page1> {
@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 2 - img 01.png')
),
SizedBox(height: 30,),
ButtonXL(route: '/Comp2Page2', 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