parent
2461fb1dbb
commit
9aaba0905e
@ -0,0 +1,29 @@
|
|||||||
|
import 'package:akuCommunity/widget/bee_scaffold.dart';
|
||||||
|
import 'package:akuCommunity/widget/tab_bar/bee_tab_bar.dart';
|
||||||
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
|
class PublicInfomationPage extends StatefulWidget {
|
||||||
|
PublicInfomationPage({Key key}) : super(key: key);
|
||||||
|
|
||||||
|
@override
|
||||||
|
_PublicInfomationPageState createState() => _PublicInfomationPageState();
|
||||||
|
}
|
||||||
|
|
||||||
|
class _PublicInfomationPageState extends State<PublicInfomationPage>
|
||||||
|
with TickerProviderStateMixin {
|
||||||
|
static const pubTabs = <String>['全部', '政务', '生活', '医疗', '教育'];
|
||||||
|
TabController _tabController;
|
||||||
|
@override
|
||||||
|
void initState() {
|
||||||
|
super.initState();
|
||||||
|
_tabController = TabController(length: pubTabs.length, vsync: this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return BeeScaffold(
|
||||||
|
title: '公共资讯',
|
||||||
|
appBarBottom: BeeTabBar(controller: _tabController, tabs: pubTabs),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue