mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 20:13:50 +08:00
Fixing changelog and docs
This commit is contained in:
@ -4,7 +4,7 @@ One cool feature when developing games with Flutter is the ability to use Flutte
|
||||
|
||||
Here you can find all the available widgets provided by Flame.
|
||||
|
||||
You can also see all the widgets showcased inside a Dashbook sandbox [here](/doc/examples/widgets)
|
||||
You can also see all the widgets showcased inside a [Dashbook](https://github.com/erickzanardo/dashbook) sandbox [here](/doc/examples/widgets)
|
||||
|
||||
## Nine Tile Box
|
||||
|
||||
@ -14,7 +14,9 @@ The grid sprite is a 3x3 grid and with 9 blocks, representing the 4 courners, th
|
||||
|
||||
The corners are drawn at the same size, the sides are streched on the side direction and the middle is expanded both ways.
|
||||
|
||||
The `NineTileBox` widget implements a Container using that standard. Here you can find an example of its usage:
|
||||
The `NineTileBox` widget implements a Container using that standard. This pattern is also implemented in game by the `NineTileBoxComponent` where you can use this same feature, but directly into the game Canvas, to know more about this, check the component docs [here](doc/components.md#nine-tile-box-component).
|
||||
|
||||
Here you can find an example of its usage:
|
||||
|
||||
```dart
|
||||
import 'package:flame/widgets/nine_tile_box.dart';
|
||||
Reference in New Issue
Block a user