全屏浏览
缩小浏览
回到页首

07 2020 档案

摘要:在TextView中创建空心文字 <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" android:shado 阅读全文
posted @ 2020-07-30 21:49 huhx 阅读(480) 评论(0) 推荐(0) 编辑
摘要:reference: https://www.filledstacks.com/snippet/managing-quick-actions-in-flutter/ code import 'dart:io'; import 'package:flutter/material.dart'; impo 阅读全文
posted @ 2020-07-30 21:48 huhx 阅读(758) 评论(0) 推荐(0) 编辑
摘要:Get the orientation 1. Media Query import 'package:flutter/material.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { @over 阅读全文
posted @ 2020-07-24 20:15 huhx 阅读(895) 评论(0) 推荐(0) 编辑
摘要:####1. string type main(List<String> args) { String name = "huhx"; changIt(name); print('after: $name'); // after: huhx } void changIt(String name) { 阅读全文
posted @ 2020-07-23 15:57 huhx 阅读(662) 评论(0) 推荐(0) 编辑
摘要:delete webstorm Besides we delete the Webstorm App, We also need to delete related config or log directory as following. ~/Library/Preferences/ ~/Libr 阅读全文
posted @ 2020-07-23 09:15 huhx 阅读(293) 评论(0) 推荐(0) 编辑
摘要:At least, there are three ways to create the singleton object with dart. 1. factory constructor class SingletonOne { SingletonOne._privateConstructor( 阅读全文
posted @ 2020-07-23 09:00 huhx 阅读(680) 评论(0) 推荐(0) 编辑
摘要:Native Query throw exception dto code import lombok.Value; @Value public class IdsOnly { Integer id; String otherId; } repository public interface Tes 阅读全文
posted @ 2020-07-03 10:15 huhx 阅读(2725) 评论(0) 推荐(0) 编辑
摘要:copy text to clipboard Clipboard.setData(ClipboardData(text: string)); since Flutter1.9, you can use SelectableText, it enable the copy feature. get t 阅读全文
posted @ 2020-07-03 09:46 huhx 阅读(626) 评论(0) 推荐(0) 编辑
摘要:整理一下比较有意思的类QQ的UI实现。Nothing that has meaning is easy. Easy doesn’t enter into grown-up life. darken the background image 很多场景下,我们需要背景图片上面显示文字。如果是白色字体的话 阅读全文
posted @ 2020-07-03 09:36 huhx 阅读(630) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示