搜索插件、代码仓与 APP 分类

插件详情v1.4.4

flame_lint

Flame 代码检查包

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
6140
喜欢数
9
Pub 分数
140

安装插件

flutter pub add flame_lint

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

Flame Lint 是一个用于 Flutter 项目(使用 Flame 游戏引擎)的代码检查工具包,旨在强制执行一致的代码风格和最佳实践。它提供了专为 Flame 开发定制的预设规则,帮助开发者发现常见错误并保持代码整洁、可读。通过 pub add 集成,支持所有主要平台,包括 Android、iOS、Web、macOS、Windows 和 Linux。该工具包通过遵循 Flame 的约定和社区标准,提升代码质量。

适合场景

  • 强制执行火焰特定的编码标准
  • 改进游戏开发中的代码一致性
  • 在CI/CD流水线中自动化代码质量检查
  • 支持在火焰项目中的团队协作
  • 识别游戏逻辑中的反模式
  • 保持2D游戏的整洁架构

主要特点

  • 预定义的 Flame 特定 lint 规则
  • 与 Flutter 和 Dart 工具的无缝集成
  • 跨平台支持
  • 可自定义的规则配置
  • 开发过程中的实时反馈
  • 与 Flame 社区准则保持一致

适合对象

  • 使用 Flame 引擎的 Flutter 开发人员
  • 使用 Flame 构建 2D 游戏的团队
  • 需要严格代码质量控制的项目
  • 新手学习 Flame 最佳实践
  • CI/CD 环境强制执行代码标准

使用建议

  • 需要火焰引擎设置
  • 可能需要为独特项目需求调整自定义规则
  • 仅适用于基于Flame的项目
  • 复杂工作流可能需要额外的配置
  • 仅限 Dart/Flutter 生态系统
  • 依赖于火焰引擎版本兼容性

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Flutter favorite

flame

A Flutter-based game engine.


Documentation

The full documentation for Flame can be found on docs.flame-engine.org.

To change the version of the documentation, use the version selector noted with version: in the top of the page.

Note: The documentation that resides in the main branch is newer than the released documentation on the docs website.

Other useful links:

  • The official Flame site.
  • Examples of most features which can be tried out from your browser.
    • To access the code for each example, press the < > button in the top right corner.
  • Tutorials - Some simple tutorials to get started.
  • API Reference - The generated dartdoc API reference.
  • awesome-flame - A curated list of Tutorials, Games, Libraries and Articles.

Help

There is a Flame community on Blue Fire's Discord server where you can ask any of your Flame related questions.

If you are more comfortable with StackOverflow, you can also create a question there. Add the Flame tag, to make sure that anyone following the tag can help out.

Features

The goal of the Flame Engine is to provide a complete set of out-of-the-way solutions for common problems that games developed with Flutter might share.

Some of the key features provided are:

  • A game loop.
  • A component/object system (FCS).
  • Effects and particles.
  • Collision detection.
  • Gesture and input handling.
  • Images, animations, sprites, and sprite sheets.
  • General utilities to make development easier.

On top of those features, you can augment Flame with bridge packages. Through these libraries, you will be able to access bindings to other packages, including custom Flame components and helpers, in order to make integrations seamless.

Flame officially provides bridge libraries to the following packages:

Sponsors

The Flame Engine's top sponsors:

Invertase

Do you or your company want to sponsor Flame? Check out our OpenCollective page, which is also mentioned in the section below, or contact us on Discord.

Support

The simplest way to show us your support is by giving the project a star! :star:

You can also support us monetarily by donating through OpenCollective:

Through GitHub Sponsors:

Or by becoming a patron on Patreon:

You can also show on your repository that your game is made with Flame by using one of the following badges:

Powered by Flame Powered by Flame Powered by Flame

[![Powered by Flame](https://img.shields.io/badge/Powered%20by-%F0%9F%94%A5-272727.svg)](https://flame-engine.org)
[![Powered by Flame](https://img.shields.io/badge/Powered%20by-%F0%9F%94%A5-272727.svg?style=flat-square)](https://flame-engine.org)
[![Powered by Flame](https://img.shields.io/badge/Powered%20by-%F0%9F%94%A5-272727.svg?style=for-the-badge)](https://flame-engine.org)

Contributing

Have you found a bug or have a suggestion of how to enhance Flame? Open an issue and we will take a look at it as soon as possible.

Do you want to contribute with a PR? PRs are always welcome, just make sure to create it from the correct branch (main) and follow the checklist which will appear when you open the PR.

Also, before you start, make sure to read our Contributing Guide.

For bigger changes, or if in doubt, make sure to talk about your contribution to the team. Either via an issue, GitHub discussion, or reach out to the team either using the Discord server.

Credits

  • The Blue Fire team, who are continuously working on maintaining and improving Flame and its ecosystem.
  • All the friendly contributors and people who are helping out in the community.

所属分类

依赖

依赖清单 1 项

源码仓库

使用此插件的项目