ByteNote LogoByteNote

Navigation

  • Blog
  • 工具

    © 2025 ByteNote. All rights reserved.

    Flutter 如何禁止类被实例化或者继承

    Jun 20, 20223 min read

    Flutter 源码

    class Colors {
      // This class is not meant to be instantiated or extended; this constructor
      // prevents instantiation and extension.
      Colors._();
      
      ...
        
    }
    

    flutter使用类名._()形式来阻止类被实例化或者被继承

    相关文章

    请问老哥们,有哪个平台有持续更新前端技术的最新资讯?

    想要获取前端技术的最新资讯,包括技术趋势、热门开源库和成熟库的更新,可以关注GitHub、Medium、Hacker News、CSS-Tricks和Frontend News等平台。

    Chrome WebSocket Test Client

    The Chrome WebSocket Test Client is a tool available on the Google Chrome Web Store for testing WebSocket connections.

    iPad界面设计尺寸规范

    iPad界面设计尺寸规范包括不同iPad型号的分辨率、状态栏、导航栏和标签栏的高度。

    前端如何高性能渲染十万条数据?有哪些方法?

    前端高性能渲染大量数据的方法包括分页加载、虚拟滚动、数据缓存、使用Web Worker、CSS优化、减少DOM操作和使用合适的数据结构。

    1 秒清理无限膨胀的 Mac 微信

    本文介绍了如何通过命令行工具清理Mac微信的缓存和数据,以解决其无限膨胀的问题。