提交
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import 'package:app/features/home/pages/index_page.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
class IndexPageState extends State<IndexPage> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Text('test');
|
||||
}
|
||||
|
||||
import 'package:app/features/home/pages/index_page.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
class IndexPageState extends State<IndexPage> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Text('test');
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,19 +1,19 @@
|
||||
import 'package:app/features/home/pages/main_page.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class MainPageState extends State<MainPage> {
|
||||
|
||||
int count = 0;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Text(count.toString()),
|
||||
backgroundColor: Colors.blue,
|
||||
),
|
||||
body: widget.child
|
||||
);
|
||||
}
|
||||
|
||||
import 'package:app/features/home/pages/main_page.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class MainPageState extends State<MainPage> {
|
||||
|
||||
int count = 0;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Text(count.toString()),
|
||||
backgroundColor: Colors.blue,
|
||||
),
|
||||
body: widget.child
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,12 +1,12 @@
|
||||
import 'package:app/features/home/bloc/index_page_state.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
class IndexPage extends StatefulWidget {
|
||||
const IndexPage({super.key});
|
||||
|
||||
@override
|
||||
State<StatefulWidget> createState() {
|
||||
return IndexPageState();
|
||||
}
|
||||
|
||||
import 'package:app/features/home/bloc/index_page_state.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
class IndexPage extends StatefulWidget {
|
||||
const IndexPage({super.key});
|
||||
|
||||
@override
|
||||
State<StatefulWidget> createState() {
|
||||
return IndexPageState();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,13 +1,13 @@
|
||||
import 'package:app/features/home/bloc/main_page_state.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class MainPage extends StatefulWidget {
|
||||
final Widget child;
|
||||
const MainPage({super.key,required this.child});
|
||||
|
||||
@override
|
||||
State<StatefulWidget> createState() {
|
||||
return MainPageState();
|
||||
}
|
||||
|
||||
import 'package:app/features/home/bloc/main_page_state.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class MainPage extends StatefulWidget {
|
||||
final Widget child;
|
||||
const MainPage({super.key,required this.child});
|
||||
|
||||
@override
|
||||
State<StatefulWidget> createState() {
|
||||
return MainPageState();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user