后端:
1、事件订阅增加rabbitmq中间件 移动端: 1、完善移动端目录结构和代码框架
This commit is contained in:
@@ -0,0 +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');
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +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
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user