File tree 4 files changed +11
-11
lines changed
4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -29,13 +29,13 @@ class Buttons extends StatelessWidget {
29
29
children: [
30
30
Text ('Buttons' , style: TextStyles .semiBold7),
31
31
verticalMargin24,
32
- TabOptions (
32
+ const TabOptions (
33
33
tabs: [
34
34
TabOption (
35
35
name: 'Preview' ,
36
36
tab: Column (
37
37
crossAxisAlignment: CrossAxisAlignment .start,
38
- children: const [
38
+ children: [
39
39
ButtonElevatedPreview (),
40
40
Divider (height: defaultPadding * 2 ),
41
41
ButtonTextPreview (),
@@ -57,7 +57,7 @@ class Buttons extends StatelessWidget {
57
57
TabOption (
58
58
name: 'Code' ,
59
59
tab: Column (
60
- children: const [
60
+ children: [
61
61
ExpansionPanelWrap (
62
62
title: 'Elevated Buttons' ,
63
63
child: ButtonElevatedCode (),
Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ class RatingBarCode extends StatelessWidget {
34
34
35
35
@override
36
36
Widget build (BuildContext context) {
37
- return Column (
37
+ return const Column (
38
38
mainAxisSize: MainAxisSize .min,
39
39
crossAxisAlignment: CrossAxisAlignment .start,
40
- children: const [
40
+ children: [
41
41
CodePreview (
42
42
code: [
43
43
"RatingBar(" ,
Original file line number Diff line number Diff line change @@ -30,12 +30,12 @@ class _AppInputsState extends State<AppInputs> {
30
30
children: [
31
31
Text ('Inputs' , style: TextStyles .semiBold7),
32
32
verticalMargin24,
33
- TabOptions (
33
+ const TabOptions (
34
34
tabs: [
35
35
TabOption (
36
36
name: 'Preview' ,
37
37
tab: Column (
38
- children: const [
38
+ children: [
39
39
InputTextPreview (),
40
40
verticalMargin24,
41
41
InputSizesPreview (),
@@ -55,7 +55,7 @@ class _AppInputsState extends State<AppInputs> {
55
55
TabOption (
56
56
name: 'Code' ,
57
57
tab: Column (
58
- children: const [
58
+ children: [
59
59
ExpansionPanelWrap (
60
60
title: 'Input Text' ,
61
61
child: InputTextCode (),
Original file line number Diff line number Diff line change @@ -30,13 +30,13 @@ class _UIPageState extends State<UIPage> {
30
30
appBar: AppBar (
31
31
title: const Text ('UI Page' ),
32
32
),
33
- body: Padding (
33
+ body: const Padding (
34
34
padding: horizontalPadding24,
35
35
child: SingleChildScrollView (
36
- physics: const BouncingScrollPhysics (),
36
+ physics: BouncingScrollPhysics (),
37
37
child: Column (
38
38
mainAxisSize: MainAxisSize .min,
39
- children: const [
39
+ children: [
40
40
verticalMargin24,
41
41
AppThemeColors (),
42
42
verticalMargin24,
You can’t perform that action at this time.
0 commit comments