Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Pante committed Nov 5, 2024
1 parent bb6de83 commit 944870c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docs/pages/docs/tile/select-menu-tile.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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<FormState> _formKey = GlobalKey<FormState>();
final FRadioSelectGroupController<Notification> controller = FRadioSelectGroupController();
final FRadioSelectGroupController<Notification> controller = FRadioSelectGroupController(value: Notification.all);
@override
Widget build(BuildContext context) => FSelectMenuTile(
Expand Down Expand Up @@ -108,7 +107,7 @@ FSelectMenuTile<Value>(
<Widget name='select-menu-tile' variant='default' query={{autoHide: 'true'}} height={400}/>
</Tabs.Tab>
<Tabs.Tab>
```dart {17}
```dart {16}
enum Notification { all, direct, nothing }
class _SelectMenuTile extends StatefulWidget {
Expand All @@ -119,8 +118,7 @@ FSelectMenuTile<Value>(
}
class _SelectMenuTileFormState extends State<_SelectMenuTileForm> {
final GlobalKey<FormState> _formKey = GlobalKey<FormState>();
final FRadioSelectGroupController<Notification> controller = FRadioSelectGroupController();
final FRadioSelectGroupController<Notification> controller = FRadioSelectGroupController(Notification.all);
@override
Widget build(BuildContext context) => FSelectMenuTile(
Expand Down

0 comments on commit 944870c

Please sign in to comment.