diff --git a/docs/pages/docs/tile/select-menu-tile.mdx b/docs/pages/docs/tile/select-menu-tile.mdx index ea32a20f5..511322509 100644 --- a/docs/pages/docs/tile/select-menu-tile.mdx +++ b/docs/pages/docs/tile/select-menu-tile.mdx @@ -31,8 +31,7 @@ A tile that, when triggered, displays a list of options for the user to pick fro } class _SelectMenuTileFormState extends State<_SelectMenuTileForm> { - final GlobalKey _formKey = GlobalKey(); - final FRadioSelectGroupController controller = FRadioSelectGroupController(); + final FRadioSelectGroupController controller = FRadioSelectGroupController(value: Notification.all); @override Widget build(BuildContext context) => FSelectMenuTile( @@ -108,7 +107,7 @@ FSelectMenuTile( - ```dart {17} + ```dart {16} enum Notification { all, direct, nothing } class _SelectMenuTile extends StatefulWidget { @@ -119,8 +118,7 @@ FSelectMenuTile( } class _SelectMenuTileFormState extends State<_SelectMenuTileForm> { - final GlobalKey _formKey = GlobalKey(); - final FRadioSelectGroupController controller = FRadioSelectGroupController(); + final FRadioSelectGroupController controller = FRadioSelectGroupController(Notification.all); @override Widget build(BuildContext context) => FSelectMenuTile(