ขนาดวิดีโอ: 1280 X 720853 X 480640 X 360
แสดงแผงควบคุมโปรแกรมเล่น
เล่นอัตโนมัติ
เล่นใหม่
Ha guys please like subscribe and commentPlease do support and share my videosThank you ❤️❤️❤️❤️
Brilliant flutter Navigation between screen tutorial keep it up
Thanks
Thank you for this video it helps
You're welcome!
Simple and informative ,good job brother , thank you .
Welcome
Great flutter Navigation Drawer tutorial
great flutter navigation tutorial
Awesome flutter navigation tutorial
Great work keep sharing
very well explianed tutorial keep it up
Brilliant flutter navigation tutorial keep it up
Mashallah bro
JazakAllah
Thanks a lot!
very useful flutter navigation tutorial
Glad you think so!
hello how can we make a next button under the tabs of tab bar view?
Don't know haven't checked yet
@@programmingguruThecoderboy please try i m getting an error 🤧🤮
but bro my screen are overlapping without pressing the button
You navigate to another activity outside button pressed
@@programmingguruThecoderboy but i have set the navigation on onpressed only
@@messiisthebest Can you paste the code here
@@programmingguruThecoderboy import 'package:flutter/material.dart';import './home.dart';class Question extends StatelessWidget { Question({super.key}); TextEditingController durationController = TextEditingController(); TextEditingController lengthController = TextEditingController(); @override Widget build(BuildContext context) { return Container( margin: const EdgeInsets.only(top: 80), child: Column( children: [ Container( margin: const EdgeInsets.only(top: 30, right: 180), child: const Text("enter the period duration", style: TextStyle(fontSize: 18)), ), Card( child: TextField( decoration: const InputDecoration( labelText: "period duration", ), controller: durationController, keyboardType: TextInputType.number, )), Container( margin: const EdgeInsets.only(top: 30, right: 180), child: const Text("enter the period length", style: TextStyle(fontSize: 18)), ), Card( child: TextField( decoration: const InputDecoration( labelText: "period length", ), controller: lengthController, keyboardType: TextInputType.number, )), OutlinedButton( onPressed: () { //ClearSession(); if (Navigator.canPop(context)) { Navigator.pop(context, true); } Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => const Home())); }, child: const Text("Submit"), ), ], ), ); }}and the home class isimport 'package:flutter/material.dart';class Home extends StatefulWidget { const Home({super.key}); @override State createState() => _HomeState();}class _HomeState extends State { @override Widget build(BuildContext context) { return Container( child: Column( children: [ Row( children: [ Container(child: Icon(Icons.home)), Container(child: Icon(Icons.calendar_month)), Container( child: Text(" home button"), ) ], ) ], ), ); }}and you can see output image in this linkwww.dropbox.com/s/kylus6e3gidovmy/Screenshot%202022-11-11%20094226.png?dl=0
thank you for the concern, but the problem was solved, it was my fault, I call the same home widget in the main. dart file, sorry for consuming your valuable time
Ha guys please like subscribe and comment
Please do support and share my videos
Thank you ❤️❤️❤️❤️
Brilliant flutter Navigation between screen tutorial keep it up
Thanks
Thank you for this video it helps
You're welcome!
Simple and informative ,good job brother , thank you .
Welcome
Great flutter Navigation Drawer tutorial
Thanks
great flutter navigation tutorial
Thanks
Awesome flutter navigation tutorial
Thanks
Great work keep sharing
Thanks
very well explianed tutorial keep it up
Thanks
Brilliant flutter navigation tutorial keep it up
Thanks
Mashallah bro
JazakAllah
Thanks a lot!
You're welcome!
very useful flutter navigation tutorial
Glad you think so!
hello how can we make a next button under the tabs of tab bar view?
Don't know haven't checked yet
@@programmingguruThecoderboy please try i m getting an error 🤧🤮
but bro my screen are overlapping without pressing the button
You navigate to another activity outside button pressed
@@programmingguruThecoderboy but i have set the navigation on onpressed only
@@messiisthebest Can you paste the code here
@@programmingguruThecoderboy
import 'package:flutter/material.dart';
import './home.dart';
class Question extends StatelessWidget {
Question({super.key});
TextEditingController durationController = TextEditingController();
TextEditingController lengthController = TextEditingController();
@override
Widget build(BuildContext context) {
return Container(
margin: const EdgeInsets.only(top: 80),
child: Column(
children: [
Container(
margin: const EdgeInsets.only(top: 30, right: 180),
child: const Text("enter the period duration",
style: TextStyle(fontSize: 18)),
),
Card(
child: TextField(
decoration: const InputDecoration(
labelText: "period duration",
),
controller: durationController,
keyboardType: TextInputType.number,
)),
Container(
margin: const EdgeInsets.only(top: 30, right: 180),
child: const Text("enter the period length",
style: TextStyle(fontSize: 18)),
),
Card(
child: TextField(
decoration: const InputDecoration(
labelText: "period length",
),
controller: lengthController,
keyboardType: TextInputType.number,
)),
OutlinedButton(
onPressed: () {
//ClearSession();
if (Navigator.canPop(context)) {
Navigator.pop(context, true);
}
Navigator.pushReplacement(context,
MaterialPageRoute(builder: (context) => const Home()));
},
child: const Text("Submit"),
),
],
),
);
}
}
and the home class is
import 'package:flutter/material.dart';
class Home extends StatefulWidget {
const Home({super.key});
@override
State createState() => _HomeState();
}
class _HomeState extends State {
@override
Widget build(BuildContext context) {
return Container(
child: Column(
children: [
Row(
children: [
Container(child: Icon(Icons.home)),
Container(child: Icon(Icons.calendar_month)),
Container(
child: Text(" home button"),
)
],
)
],
),
);
}
}
and you can see output image in this link
www.dropbox.com/s/kylus6e3gidovmy/Screenshot%202022-11-11%20094226.png?dl=0
thank you for the concern, but the problem was solved, it was my fault, I call the same home widget in the main. dart file, sorry for consuming your valuable time