From 05eca3b83fbad2e41fe6531965a22c532129e24c Mon Sep 17 00:00:00 2001
From: Daviiddoo <Davidchew12345@gmail.com>
Date: Wed, 2 Oct 2024 15:20:11 +0800
Subject: [PATCH] Apply suggestions from code review

Co-authored-by: Matthias Ngeo <matthiasngeo@gmail.com>
---
 docs/pages/docs/accordion.mdx                  | 4 ++--
 forui/lib/src/widgets/accordion/accordion.dart | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/docs/pages/docs/accordion.mdx b/docs/pages/docs/accordion.mdx
index c8090b4ca..180687452 100644
--- a/docs/pages/docs/accordion.mdx
+++ b/docs/pages/docs/accordion.mdx
@@ -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",
                   ),
@@ -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",
                   ),
diff --git a/forui/lib/src/widgets/accordion/accordion.dart b/forui/lib/src/widgets/accordion/accordion.dart
index 78b5d1f40..41fbbe17c 100644
--- a/forui/lib/src/widgets/accordion/accordion.dart
+++ b/forui/lib/src/widgets/accordion/accordion.dart
@@ -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({