ByteNote LogoByteNote

Navigation

  • Blog
  • 工具

    © 2025 ByteNote. All rights reserved.

    上海交大 Linux 用户组Flutter 镜像

    Jan 19, 20231 min read

    上海交大 Linux 用户组Flutter 镜像:

    export PUB_HOSTED_URL=https://mirror.sjtu.edu.cn/dart-pub
    export FLUTTER_STORAGE_BASE_URL=https://mirror.sjtu.edu.cn
    

    相关文章

    SwiftUI TextEditor 增加文字到输入框的边距

    在 SwiftUI 中,通过使用 padding() 修饰符可以为 TextEditor 组件添加文本边距,并可自定义边距值。

    Flutter Mac Desktop 顶部菜单栏修改

    该代码示例展示了如何在Flutter Mac Desktop应用中修改顶部菜单栏,包括添加自定义菜单项和处理菜单选择事件。

    解决 dyld Library not loaded usrlocalopticu4cliblibicui18n

    解决 `dyld: Library not loaded` 错误的方法包括卸载并重新安装 `node` 和 `icu4c`,以及使用 `npm` 全局安装 `pnpm`。

    Three.js 什么是precision?

    在 Three.js 中,precision 决定了 WebGL 渲染器的精度级别,默认是高精度(highp),但可根据应用需求调整为中(mediump)或低(lowp)以优化性能,同时需注意精度过低可能引起渲染误差。

    Vite 项目Eslint 的初始化配置

    本文介绍了如何使用Vite创建项目并进行Eslint初始化配置,包括安装Eslint、配置规则、安装vite-plugin-eslint和eslint-parser,以及配置VScode以支持代码格式化和校验。