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:
Erick
2023-06-20 09:36:15 -03:00
committed by GitHub
parent 667a169811
commit b3efb612cb
41 changed files with 409 additions and 18 deletions

View File

@ -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.