mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-01 10:38:17 +08:00
feat: ComponentKey API (#2566)
Adds a new key api on FCS, which will allow users to get a component from the tree, without needing to iterate over all the children or a parent descendants.
This commit is contained in:
@ -7,7 +7,7 @@ import 'package:flutter/material.dart';
|
||||
class ComponentsNotifierExampleWidget extends StatefulWidget {
|
||||
const ComponentsNotifierExampleWidget({super.key});
|
||||
|
||||
static String description = '''
|
||||
static const String description = '''
|
||||
Showcases how the components notifier can be used between
|
||||
a flame game instance and widgets.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user