修改administrator绑定的微软账号

修改administrator绑定的微软账号

1、Win+R—运行—regedit.exe,跳转到注册表下列位置:计算机\HKEY_USERS\.DEFAULT\Software\Microsoft\IdentityCRL\StoredIdentities 并删除分支下的邮箱账户,如图: 2、设置—账户—电子邮件和应用

Flutter无Context跳转

"背景介绍Navigator.of(context).push(MaterialPageRoute(builder: (context){ return DemoPage(); }));在日常的项目开发中,我们一般push一个新页面是用上面的方法的,利用Navigator.of(context)来进行

flutter webview 允许下拉刷新的方法

在webview外包裹下拉刷新等组件后,webview插件不能渲染整个页面.使用下面的方法可以解决 使手势识别器刷新,只需在您的 Webview 小部件中添加以下代码‎ WebView( key: UniqueKey(), in

flutter 接入 谷歌统计 Firebase analytics

dependencies { androidTestImplementation 'androidx.test:runner:1.2.0' androidTestImplementation 'androidx.test:rules:1.2.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' }

php使用xpath来进行采集页面的内容

php使用xpath来进行采集页面的内容

使用过xpath来快速抓取页面上的内容,可以使用谷歌浏览器扩展来测试xpath表达式。 谷歌插件地址:https://chrome.google.com/webstore/detail/xpath-helper/hgimnogjllphhhkhlmebbmlgjoejdpjl 我们来获取页面上所有的A标

html和markdown互转

使用 league/html-to-markdown , erusev/parsedown HTML Purifier<?php namespace App\Http\Controllers\Traits; use League\HTMLToMarkdown\HtmlConverter; trait Markdown { /** * markdown -> html

mac Homebrew 安装 设置国内源 和 git安装 CocoaPods

安装/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"切换中科大国内源: # 替换brew.git: cd "$(brew --repo)" git remote set-url origin https://mirrors.ustc.edu.c

mac flutter 环境配置

2020macOS Big Sur配置Java开发环境之jdk安装_lxyoucan的博客-CSDN博客 下载flutter 并解压/Users/jisjian/sdk/ 在 macOS 上安装和配置 Flutter 开发环境 - Flutter 中文文档 - Flutter 中文资源 配置~/.zshr

flutter-android启动时全屏显示图片

更改 android\app\src\main\res\drawable\launch_background.xml <?xml version="1.0" encoding="utf-8"?><layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@

flutter全屏的方法

方法1:// to hide only bottom bar:SystemChrome.setEnabledSystemUIOverlays ([SystemUiOverlay.top]);// to hide only status bar: SystemChrome.setEnabledSystemUIOverlays ([SystemUiOverlay.bottom]);// to hi

PreferredSize 不对其子控件施加任何约束

PreferredSize此控件不对其子控件施加任何约束,并且不以任何方式影响孩子的布局。 常用来自定义AppBar和AppBar.bottom(PreferredSize子控件为AppBar或者AppBar.bottom)Scaffold( appBar: PreferredSize(

&&的优先级

&&的优先级高于|| 这里就有一种特殊情况:如果表达式中含有||,总是先算 || 左边的子表达式,这里是((a+1)>0)永远先于(((++a)<0) && (!((b--)<=0)))计算(并且由于优先级,先计算a+1,再与0比较,而不是先将1与0比较,再和a相加),如果 || 左边的

Dart之字符串(String)的相关方法总结

字符串定义 使用单引号或双引号 String a = "abcdefg";String b = &#39;12345&#39;; 创建多行字符串,保留内在格式 使用三个单引号或三个双引号 创建多行字符串,保留内在格式,如换行和缩进等,里面写什么输出就是什么

flutter新版按钮常用设置

textButtonTheme: TextButtonThemeData( style: ButtonStyle( backgroundColor: MaterialStateProperty.all<Color>(Colors.transparent),

Flutter 混淆打包,签名等问题

Flutter 混淆打包,签名等问题

混淆Dart代码Flutter 1.16.2 以上默认支持混淆,不需要特殊设置,只需要在构建命令后面加上--obfuscate --split-debug-info=/<project-name>/<directory>具体可看官方文档:混淆Dart代码构建发布包具体配置请看官方文档(只

flutter新版dio封装

分析需求为什么要封装? 全局token验证 自定义拦截器 缓存处理 统一封装业务错误逻辑 代理配置 重试机制 log输出 自定义解析,数据脱壳要初始化哪些配置? 域名 代理地址 cookie本地缓存地址 超时时间 自定义拦截

使用IntelliJ IDEA编辑flutter安卓代码

To configure the location of the Android SDK: In Preferences > Plugins, enable Android Support if you haven&rsquo;t already. Right-click the android folder in the Project view, and select Open Module

flutter去除滚动部件ListView等阴影微光

方法1:The following ScrollBehavior will remove the glow effect entirely :class MyBehavior extends ScrollBehavior { @override Widget buildViewportChrome( BuildContext context, Widget child, Axis

flutter判断客户端是否为安卓

UI中 Theme.of(context).platform == TargetPlatform.android 初始化器 import 'dart:io' Platform.isAndroid

flutter插件:flex_color_scheme 美观主题配色

flex_color_scheme | Flutter Package (flutter-io.cn)void main() => runApp(const DemoApp()); class DemoApp extends StatefulWidget { const DemoApp({Key key}) : super(key: key); @override _DemoAppS

组件通信(父子、兄弟)

一,概述    flutter一个重要的特性就是组件化。组件分为两种状态,一种是StatefulWidget有状态组件,一种是StatelessWidget无状态组件。 无状态组件不能更新状态,有状态组件具有类似刷新的机制,可更改状态。   功能模

flutter插件 aar引入 2

目的: 在 flutter Plugin中引入 aar引言:Android项目中引入aar,直接放在本地,在gradle中implementation即可,同样操作在Flutter项目却报错not found aar,如此需要其他解决方法。本文中介绍一种自己项目中运用到的maven引

Flutter 插件开发之引入aar到安卓部分 并使用本地maven

本篇只包含 android 部分, iOS 的 framework 直接在 podspec 中引入就可以了,所以本篇略过不表做过安卓开发的朋友可能知道, aar 文件如果作为本地文件直接引入 library, 然后 app 引用 library 是会报找不到aar的,

RESTful 架构详解

RESTful 架构详解

1. 什么是RESTREST全称是Representational State Transfer,中文意思是表述(编者注:通常译为表征)性状态转移。 它首次出现在2000年Roy Fielding的博士论文中,Roy Fielding是HTTP规范的主要编写者之一。 他在论文中提到:"我

flutter2.0 空安全 Sound null safety

简介空安全(Sound null safety)是 Dart 2.12 中新增的一项特性,空安全特性并不是 Dart 独有的,Kotlin, TypeScript, C#, Swift 等语言都有此特性,如果你了解这些语言的空安全特性及用法,那么下面关于 Dart 语言空安全特性