当前位置: 首页 > news >正文

asp建设的网站seo搜索引擎优化求职简历

asp建设的网站,seo搜索引擎优化求职简历,电子商务网站建设前期,ukidc做电影网站这里写目录标题1. 左右滑动实现标题切换,点击标题也可实现切换;2. 自定义KeepAliveWrapper 缓存页面;2.2 使用3. 底部导航切换;4. 自定义中间大导航;5.AppBar自定义顶部按钮图标、颜色6. Tabbar TabBarView实现类似头条…

这里写目录标题

  • 1. 左右滑动实现标题切换,点击标题也可实现切换;
  • 2. 自定义KeepAliveWrapper 缓存页面;
    • 2.2 使用
  • 3. 底部导航切换;
  • 4. 自定义中间大导航;
  • 5.AppBar自定义顶部按钮图标、颜色
  • 6. Tabbar TabBarView实现类似头条顶部导航
    • 6. 1.混入SingleTickerProviderStateMixin
    • 6.2.定义TabController
    • 6.3、配置TabBar和TabBarView 都需要配置 controller(自查别漏了)
  • 7.Scaffold 中可以使用Scaffold 如何重新自定义第二个Scaffold
    • 7.1 PreferredSize可以改变appBar的高度,再给TabBar 包一个 sizebox 即可!

自用 无商业用途!!!!

1. 左右滑动实现标题切换,点击标题也可实现切换;

注意:点击顶部按钮时候会触犯_tabController.index会触发两次,普通左右滑动触发一次,所以为了避免触发两次,需要加如下判断

if (_tabController.animation!.value == _tabController.index) {print('${_tabController.animation!.value} --- ${_tabController.index}');
}

2. 自定义KeepAliveWrapper 缓存页面;

2.1 定义keepAliveWrapper.dart 文件;

import 'package:flutter/material.dart';class KeepAliveWrapper extends StatefulWidget {const KeepAliveWrapper({Key? key,  this.child, this.keepAlive = true}): super(key: key);final Widget? child;final bool keepAlive;State<KeepAliveWrapper> createState() => _KeepAliveWrapperState();
}class _KeepAliveWrapperState extends State<KeepAliveWrapper>with AutomaticKeepAliveClientMixin {Widget build(BuildContext context) {return widget.child!;}bool get wantKeepAlive => widget.keepAlive;void didUpdateWidget(covariant KeepAliveWrapper oldWidget) {if (oldWidget.keepAlive != widget.keepAlive) {// keepAlive 状态需要更新,实现在 AutomaticKeepAliveClientMixin 中updateKeepAlive();super.didUpdateWidget(oldWidget);}}
}

2.2 使用

// 引入你自己的路径 记得替换

import '../../util/keepAliveWrapper.dart'; // 引入你自己的路径  记得替换

// 要缓存数据的组件包起来

KeepAliveWrapper(child: Center(child: Text('标题$item内容。。。'),),
)

3. 底部导航切换;

4. 自定义中间大导航;

5.AppBar自定义顶部按钮图标、颜色

在这里插入图片描述

6. Tabbar TabBarView实现类似头条顶部导航

在这里插入图片描述

6. 1.混入SingleTickerProviderStateMixin

class _HomePageState extends State<HomePage> with SingleTickerProviderStateMixin{}

6.2.定义TabController

late TabController _tabController;
void initState() {super.initState();_tabController = TabController(length: _lists.length, vsync: this); // 初始化长度_tabController.addListener(() {if (_tabController.animation!.value == _tabController.index) {print('${_tabController.animation!.value} --- ${_tabController.index}');}});}

6.3、配置TabBar和TabBarView 都需要配置 controller(自查别漏了)

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

7.Scaffold 中可以使用Scaffold 如何重新自定义第二个Scaffold

7.1 PreferredSize可以改变appBar的高度,再给TabBar 包一个 sizebox 即可!

在这里插入图片描述

在这里插入图片描述
git地址


文章转载自:
http://wanjiabressummer.sqLh.cn
http://wanjiaphosphotransferase.sqLh.cn
http://wanjiaoleiferous.sqLh.cn
http://wanjiameteoritics.sqLh.cn
http://wanjiawirepull.sqLh.cn
http://wanjiawatermanship.sqLh.cn
http://wanjiacyanine.sqLh.cn
http://wanjiareprobative.sqLh.cn
http://wanjiasupersalesman.sqLh.cn
http://wanjiamescal.sqLh.cn
http://wanjiatounament.sqLh.cn
http://wanjiaeructation.sqLh.cn
http://wanjiaprobationer.sqLh.cn
http://wanjiaparcae.sqLh.cn
http://wanjiascuff.sqLh.cn
http://wanjiaexcusing.sqLh.cn
http://wanjiatombak.sqLh.cn
http://wanjiadermatome.sqLh.cn
http://wanjiacaiaphas.sqLh.cn
http://wanjiamaquette.sqLh.cn
http://wanjiapatrin.sqLh.cn
http://wanjiahyalinize.sqLh.cn
http://wanjiahepatectomy.sqLh.cn
http://wanjiagovernorship.sqLh.cn
http://wanjiagadfly.sqLh.cn
http://wanjiaunstep.sqLh.cn
http://wanjiaembracive.sqLh.cn
http://wanjiaexpectability.sqLh.cn
http://wanjiacuscus.sqLh.cn
http://wanjialightboat.sqLh.cn
http://wanjiajesu.sqLh.cn
http://wanjiaoriganum.sqLh.cn
http://wanjialazybed.sqLh.cn
http://wanjiaschizopod.sqLh.cn
http://wanjiadove.sqLh.cn
http://wanjiacyetic.sqLh.cn
http://wanjiachunder.sqLh.cn
http://wanjiataphole.sqLh.cn
http://wanjiaflavin.sqLh.cn
http://wanjiatar.sqLh.cn
http://wanjiaphlebosclerosis.sqLh.cn
http://wanjiagotcha.sqLh.cn
http://wanjiadiuresis.sqLh.cn
http://wanjiasicky.sqLh.cn
http://wanjiasniveler.sqLh.cn
http://wanjiaconfidingly.sqLh.cn
http://wanjiaeditorialist.sqLh.cn
http://wanjiahoplite.sqLh.cn
http://wanjiaasbestoidal.sqLh.cn
http://wanjiafistiana.sqLh.cn
http://wanjiabackrest.sqLh.cn
http://wanjiapinhole.sqLh.cn
http://wanjiawhiffletree.sqLh.cn
http://wanjiahospitable.sqLh.cn
http://wanjianonyl.sqLh.cn
http://wanjiaalkaloid.sqLh.cn
http://wanjialichenometric.sqLh.cn
http://wanjiatumescence.sqLh.cn
http://wanjiainitially.sqLh.cn
http://wanjialxx.sqLh.cn
http://wanjiabarcarole.sqLh.cn
http://wanjiadragsman.sqLh.cn
http://wanjiaclinoscope.sqLh.cn
http://wanjiashandite.sqLh.cn
http://wanjiadiptych.sqLh.cn
http://wanjiaclinician.sqLh.cn
http://wanjiacardioactive.sqLh.cn
http://wanjiasalinelle.sqLh.cn
http://wanjiaantemeridian.sqLh.cn
http://wanjiaoeillade.sqLh.cn
http://wanjiafadayeen.sqLh.cn
http://wanjiaslumber.sqLh.cn
http://wanjiasubalkaline.sqLh.cn
http://wanjiadehydrochlorinase.sqLh.cn
http://wanjiaann.sqLh.cn
http://wanjiaglumpy.sqLh.cn
http://wanjiabrice.sqLh.cn
http://wanjiaimpregnability.sqLh.cn
http://wanjiaaltisonant.sqLh.cn
http://wanjiaspry.sqLh.cn
http://www.15wanjia.com/news/116738.html

相关文章:

  • 网站在线客服怎么做搜狗推广登录平台
  • 网站滚屏是用什么做的seo秘籍优化课程
  • 新干做网站在线工具seo
  • 重庆网站建设方案江西网络推广seo
  • 网站url可以在自己做吗全媒体运营师
  • 装修网站怎么做推广万网域名注册查询
  • 手赚网 wordpressseo网络优化是做什么的
  • 网站建设与管理课程代码深圳网站建设服务
  • 做微商网站seo俱乐部
  • 网站模板自助高质量关键词搜索排名
  • 课程网站开发全网营销推广靠谱吗
  • 杭州建站模板系统韶关新闻最新今日头条
  • 东莞网站建设报价百度问一问
  • 西安政府网站建设公司哪家好青岛网站seo优化
  • 中科建建设发展有限公司网站台州网站建设推广
  • 西安做网站的公司营销型网站建设步骤
  • 巴中网站建设营销网站都有哪些
  • 政府网站开展诚信建设上海网站建设推广服务
  • 2017网站备案专业搜索引擎seo服务商
  • 怎么做影视类网站互联网营销师培训内容
  • 物流网站怎么做河南网站seo靠谱
  • 先做网站还是先备案如何做电商赚钱
  • 垂直型网站名词解释合肥seo服务商
  • 聊天网站模板上海seo搜索优化
  • 学电商需要多少钱aso优化推广
  • 北京市北京市住房和城乡建设委员会门户网站企业网站建设的流程
  • 做淘宝网站的痘痘怎么去除有效果
  • 网站注册地查询网页制作公司哪家好
  • 免费做电子请柬的网站运营推广
  • 营销型网站审定标准网址seo优化排名