Skip to content

Commit

Permalink
rename screens to be more consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekpacia committed Sep 5, 2024
1 parent d7bbeeb commit df64cf0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions lib/form_test.dart → lib/form_screen.dart
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import 'package:flutter/material.dart';

class FormTestPage extends StatefulWidget {
const FormTestPage({super.key});
class FormScreen extends StatefulWidget {
const FormScreen({super.key});

@override
State<FormTestPage> createState() => _FormTestPageState();
State<FormScreen> createState() => _FormScreenState();
}

class _FormTestPageState extends State<FormTestPage> {
class _FormScreenState extends State<FormScreen> {
final TextEditingController _emailController = TextEditingController();
final TextEditingController _passwordController = TextEditingController();

Expand Down
8 changes: 4 additions & 4 deletions lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import 'package:demo_app/form_test.dart';
import 'package:demo_app/form_screen.dart';
import 'package:demo_app/issue_1619_repro.dart';
import 'package:demo_app/issue_1677_repro.dart';
import 'package:demo_app/nesting_screen.dart';
import 'package:demo_app/swipe_test.dart';
import 'package:demo_app/swiping_screen.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';
Expand Down Expand Up @@ -85,15 +85,15 @@ class _MyHomePageState extends State<MyHomePage> {
ElevatedButton(
onPressed: () {
Navigator.of(context).push(
MaterialPageRoute(builder: (_) => const SwipeTestPage()),
MaterialPageRoute(builder: (_) => const SwipingScreen()),
);
},
child: const Text('Swipe Test'),
),
ElevatedButton(
onPressed: () {
Navigator.of(context).push(
MaterialPageRoute(builder: (_) => const FormTestPage()),
MaterialPageRoute(builder: (_) => const FormScreen()),
);
},
child: const Text('Form Test'),
Expand Down
8 changes: 4 additions & 4 deletions lib/swipe_test.dart → lib/swiping_screen.dart
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import 'package:flutter/material.dart';

class SwipeTestPage extends StatefulWidget {
const SwipeTestPage({super.key});
class SwipingScreen extends StatefulWidget {
const SwipingScreen({super.key});

@override
State<SwipeTestPage> createState() => _SwipeTestPageState();
State<SwipingScreen> createState() => _SwipingScreenState();
}

class _SwipeTestPageState extends State<SwipeTestPage> {
class _SwipingScreenState extends State<SwipingScreen> {
List<Color> containerColors = [Colors.red, Colors.red, Colors.red];
bool finished = false;

Expand Down

0 comments on commit df64cf0

Please sign in to comment.