Files
flame/examples
Lukas Klingsbo dbda37b81a refactor: Add new lint rules (#2477)
This PR adds the following lint rules to our list:

```
always_put_required_named_parameters_first
avoid_multiple_declarations_per_line
avoid_positional_boolean_parameters
avoid_returning_null_for_void
avoid_returning_this
avoid_unnecessary_containers
enable_null_safety
library_private_types_in_public_api
no_leading_underscores_for_library_prefixes
no_leading_underscores_for_local_identifiers
prefer_null_aware_method_calls
tighten_type_of_initializing_formals
unnecessary_late
use_setters_to_change_properties
```

And these rules were considered, and some changes were made according to
them as a clean-up, but in many places they didn't make sense
(`prefer_asserts_with_message` I would have included, but there were too
many places that needed to be changes):

```
collection_methods_unrelated_type
prefer_asserts_with_message
avoid_renaming_method_parameters
```
2023-04-13 19:42:00 +00:00
..
2023-04-13 19:42:00 +00:00
2023-03-16 07:20:02 +01:00
2023-03-16 07:20:02 +01:00

Powered by Flame Discord

Flame Examples

This is a set of small examples showcasing specific features of the Flame Engine; it's a great source of learning how to use certain things. See it live here.

This app is composed of a main menu in which you can select one of the examples and play with it. Each example is a standalone game and is contained within its own file, so you can easily checkout the code and see how it works.

For a very simple, but complete game in Flame, check the example folder inside the Flame package.

Help

If you have questions about this:

  • Check the source code, the examples are meant to be simple, short, and easy to read.
  • Check our extensive documentation, links to which can be found on the main repo (faq, docs folder, code/api docs, tutorials, flame-awesome).
  • Join Blue Fire's Discord, we have a #flame channel where you can find lots of people to help and get help from.
  • Use the flame tag on StackOverflow.