Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Ngeo <[email protected]>
  • Loading branch information
Daviiddoo and Pante authored Oct 2, 2024
1 parent 92fa7ba commit 05eca3b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/pages/docs/accordion.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ A vertically stacked set of interactive headings that each reveal a section of c
child: const Text('Yes. It adheres to the WAI-ARIA design pattern.'),
),
FAccordionItem(
title: const Text('Is it Styled?'),
initiallyExpanded: true,
title: const Text('Is it Styled?'),
child: const Text(
"Yes. It comes with default styles that matches the other components' aesthetics",
),
Expand Down Expand Up @@ -121,8 +121,8 @@ FAccordion(
child: const Text('Yes. It adheres to the WAI-ARIA design pattern.'),
),
FAccordionItem(
title: const Text('Is it Styled?'),
initiallyExpanded: true,
title: const Text('Is it Styled?'),
child: const Text(
"Yes. It comes with default styles that matches the other components' aesthetics",
),
Expand Down
6 changes: 3 additions & 3 deletions forui/lib/src/widgets/accordion/accordion.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ class FAccordion extends StatefulWidget {
/// * [FAccordionController.radio] for a radio-like selection.
final FAccordionController? controller;

/// The items.
final List<FAccordionItem> children;

/// The style. Defaults to [FThemeData.accordionStyle].
final FAccordionStyle? style;

/// The items.
final List<FAccordionItem> children;

/// Creates a [FAccordion].
const FAccordion({
Expand Down

0 comments on commit 05eca3b

Please sign in to comment.