Skip to content

Commit 4a1e660

Browse files
FahadHixie
authored andcommitted
Documentation fix in StatefulWidget class (flutter#10373)
Replace a misplaced StatelessWidget class with StatefulWidget class
1 parent f437d02 commit 4a1e660

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/flutter/lib/src/widgets/framework.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ abstract class StatelessWidget extends Widget {
670670
/// can be called to mutate it:
671671
///
672672
/// ```dart
673-
/// class Frog extends StatelessWidget {
673+
/// class Frog extends StatefulWidget {
674674
/// const Frog({
675675
/// Key key,
676676
/// this.color: const Color(0xFF2DBD3A),

0 commit comments

Comments
 (0)