隐藏首页以及社区搜索功能

master
戴余标 3 years ago
parent eba68b3f94
commit 3750c74b7a

@ -4,7 +4,7 @@
In most cases you can leave this as-is, but you if you want to provide In most cases you can leave this as-is, but you if you want to provide
additional functionality it is fine to subclass or reimplement additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. --> FlutterApplication and put your custom class here. -->
<application android:name="io.flutter.app.FlutterApplication" android:label="小蜜蜂智慧小区" android:icon="@mipmap/ic_launcher" android:networkSecurityConfig="@xml/network_security_config"> <application android:label="小蜜蜂智慧小区" android:icon="@mipmap/ic_launcher" android:networkSecurityConfig="@xml/network_security_config">
<service android:name="com.amap.api.location.APSService"></service> <service android:name="com.amap.api.location.APSService"></service>
<meta-data android:name="com.amap.api.v2.apikey" <meta-data android:name="com.amap.api.v2.apikey"
android:value="f6361c0537bf2d6ddb898b10618d3726"/> android:value="f6361c0537bf2d6ddb898b10618d3726"/>

@ -150,13 +150,13 @@ class _HomePageState extends State<HomePage>
textAlign: TextAlign.center, textAlign: TextAlign.center,
), ),
Spacer(), Spacer(),
GestureDetector( // GestureDetector(
onTap: () { // onTap: () {
Get.to(() => BeeSearch()); // Get.to(() => BeeSearch());
}, // },
child: Image.asset(R.ASSETS_ICONS_ICON_MAIN_FIND_PNG, // child: Image.asset(R.ASSETS_ICONS_ICON_MAIN_FIND_PNG,
height: 40.w, width: 40.w), // height: 40.w, width: 40.w),
), // ),
Padding( Padding(
padding: EdgeInsets.only(right: 16.w, left: 12.w), padding: EdgeInsets.only(right: 16.w, left: 12.w),
child: Badge( child: Badge(

@ -181,8 +181,8 @@ class _CommunityPageState extends State<CommunityPage>
? SizedBox() ? SizedBox()
: ListView( : ListView(
children: [ children: [
_geSearch(), // _geSearch(),
2.hb, // 2.hb,
_hotNewsModels.isEmpty ? SizedBox() : _getInfo(), _hotNewsModels.isEmpty ? SizedBox() : _getInfo(),
16.hb, 16.hb,
_gambitModels.isEmpty ? SizedBox() : _getNews(), _gambitModels.isEmpty ? SizedBox() : _getNews(),

@ -716,6 +716,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.12.11" version: "0.12.11"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.3"
meta: meta:
dependency: transitive dependency: transitive
description: description:
@ -1212,7 +1219,7 @@ packages:
name: test_api name: test_api
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.4.3" version: "0.4.8"
time: time:
dependency: transitive dependency: transitive
description: description:

Loading…
Cancel
Save