We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import 'package:flutter/material.dart'; import 'package:get/get.dart';
void main() => runApp(MyApp());
class MyApp extends StatefulWidget { @OverRide State createState() => _MyAppState(); }
class _MyAppState extends State {
@OverRide Widget build(BuildContext context) { return GetMaterialApp( home: Scaffold( body: Center( child: Text("One Page Test"), ), floatingActionButton: FloatingActionButton( onPressed: () { Get.to(() => const TwoPage(),); }, ), ), ); } }
class TwoPage extends StatefulWidget { const TwoPage({super.key});
@OverRide State createState() => _TwoPageState(); }
class _TwoPageState extends State { @OverRide Widget build(BuildContext context) { return Scaffold( body: Center( child: Text("Two Page"), ), ); } }
The text was updated successfully, but these errors were encountered:
jonataslaw
No branches or pull requests
import 'package:flutter/material.dart';
import 'package:get/get.dart';
void main() => runApp(MyApp());
class MyApp extends StatefulWidget {
@OverRide
State createState() => _MyAppState();
}
class _MyAppState extends State {
@OverRide
Widget build(BuildContext context) {
return GetMaterialApp(
home: Scaffold(
body: Center(
child: Text("One Page Test"),
),
floatingActionButton: FloatingActionButton(
onPressed: () {
Get.to(() => const TwoPage(),);
},
),
),
);
}
}
class TwoPage extends StatefulWidget {
const TwoPage({super.key});
@OverRide
State createState() => _TwoPageState();
}
class _TwoPageState extends State {
@OverRide
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: Text("Two Page"),
),
);
}
}
The text was updated successfully, but these errors were encountered: