File tree 3 files changed +42
-42
lines changed
lib/views/pages/ui/components/buttons
3 files changed +42
-42
lines changed Original file line number Diff line number Diff line change @@ -76,83 +76,83 @@ class ButtonElevatedCode extends StatelessWidget {
76
76
verticalMargin4,
77
77
const CodePreview (
78
78
code: [
79
- 'ButtonElevated(", ' ,
79
+ 'ButtonElevated(' ,
80
80
' onPressed: () {},' ,
81
81
' text: "Info",' ,
82
82
' buttonType: ButtonType.info,' ,
83
- ')," '
83
+ '),'
84
84
],
85
85
),
86
86
verticalMargin8,
87
87
Text ('Success' , style: TextStyles .regular2),
88
88
verticalMargin4,
89
89
const CodePreview (
90
90
code: [
91
- 'ButtonElevated(", ' ,
91
+ 'ButtonElevated(' ,
92
92
' onPressed: () {},' ,
93
93
' text: "Success",' ,
94
94
' buttonType: ButtonType.success,' ,
95
- ')," '
95
+ '),'
96
96
],
97
97
),
98
98
verticalMargin8,
99
99
Text ('Warning' , style: TextStyles .regular2),
100
100
verticalMargin4,
101
101
const CodePreview (
102
102
code: [
103
- 'ButtonElevated(", ' ,
103
+ 'ButtonElevated(' ,
104
104
' onPressed: () {},' ,
105
105
' text: "Warning",' ,
106
106
' buttonType: ButtonType.warning,' ,
107
- ')," '
107
+ '),'
108
108
],
109
109
),
110
110
verticalMargin8,
111
111
Text ('Danger' , style: TextStyles .regular2),
112
112
verticalMargin4,
113
113
const CodePreview (
114
114
code: [
115
- 'ButtonElevated(", ' ,
115
+ 'ButtonElevated(' ,
116
116
' onPressed: () {},' ,
117
117
' text: "Danger",' ,
118
118
' buttonType: ButtonType.danger,' ,
119
- ')," '
119
+ '),'
120
120
],
121
121
),
122
122
verticalMargin8,
123
123
Text ('Help' , style: TextStyles .regular2),
124
124
verticalMargin4,
125
125
const CodePreview (
126
126
code: [
127
- 'ButtonElevated(", ' ,
127
+ 'ButtonElevated(' ,
128
128
' onPressed: () {},' ,
129
129
' text: "Help",' ,
130
130
' buttonType: ButtonType.help,' ,
131
- ')," '
131
+ '),'
132
132
],
133
133
),
134
134
verticalMargin8,
135
135
Text ('Primary' , style: TextStyles .regular2),
136
136
verticalMargin4,
137
137
const CodePreview (
138
138
code: [
139
- 'ButtonElevated(", ' ,
139
+ 'ButtonElevated(' ,
140
140
' onPressed: () {},' ,
141
141
' text: "Primary",' ,
142
142
' buttonType: ButtonType.primary,' ,
143
- ')," '
143
+ '),'
144
144
],
145
145
),
146
146
verticalMargin8,
147
147
Text ('Secondary' , style: TextStyles .regular2),
148
148
verticalMargin4,
149
149
const CodePreview (
150
150
code: [
151
- 'ButtonElevated(", ' ,
151
+ 'ButtonElevated(' ,
152
152
' onPressed: () {},' ,
153
153
' text: "Secondary",' ,
154
154
' buttonType: ButtonType.secondary,' ,
155
- ')," '
155
+ '),'
156
156
],
157
157
),
158
158
],
Original file line number Diff line number Diff line change @@ -76,83 +76,83 @@ class ButtonOutlinedCode extends StatelessWidget {
76
76
verticalMargin4,
77
77
const CodePreview (
78
78
code: [
79
- 'ButtonOutlined(", ' ,
79
+ 'ButtonOutlined(' ,
80
80
' onPressed: () {},' ,
81
81
' text: "Info",' ,
82
82
' buttonType: ButtonType.info,' ,
83
- ')," '
83
+ '),'
84
84
],
85
85
),
86
86
verticalMargin8,
87
87
Text ('Success' , style: TextStyles .regular2),
88
88
verticalMargin4,
89
89
const CodePreview (
90
90
code: [
91
- 'ButtonOutlined(", ' ,
91
+ 'ButtonOutlined(' ,
92
92
' onPressed: () {},' ,
93
93
' text: "Success",' ,
94
94
' buttonType: ButtonType.success,' ,
95
- ')," '
95
+ '),'
96
96
],
97
97
),
98
98
verticalMargin8,
99
99
Text ('Warning' , style: TextStyles .regular2),
100
100
verticalMargin4,
101
101
const CodePreview (
102
102
code: [
103
- 'ButtonOutlined(", ' ,
103
+ 'ButtonOutlined(' ,
104
104
' onPressed: () {},' ,
105
105
' text: "Warning",' ,
106
106
' buttonType: ButtonType.warning,' ,
107
- ')," '
107
+ '),'
108
108
],
109
109
),
110
110
verticalMargin8,
111
111
Text ('Danger' , style: TextStyles .regular2),
112
112
verticalMargin4,
113
113
const CodePreview (
114
114
code: [
115
- 'ButtonOutlined(", ' ,
115
+ 'ButtonOutlined(' ,
116
116
' onPressed: () {},' ,
117
117
' text: "Danger",' ,
118
118
' buttonType: ButtonType.danger,' ,
119
- ')," '
119
+ '),'
120
120
],
121
121
),
122
122
verticalMargin8,
123
123
Text ('Help' , style: TextStyles .regular2),
124
124
verticalMargin4,
125
125
const CodePreview (
126
126
code: [
127
- 'ButtonOutlined(", ' ,
127
+ 'ButtonOutlined(' ,
128
128
' onPressed: () {},' ,
129
129
' text: "Help",' ,
130
130
' buttonType: ButtonType.help,' ,
131
- ')," '
131
+ '),'
132
132
],
133
133
),
134
134
verticalMargin8,
135
135
Text ('Primary' , style: TextStyles .regular2),
136
136
verticalMargin4,
137
137
const CodePreview (
138
138
code: [
139
- 'ButtonOutlined(", ' ,
139
+ 'ButtonOutlined(' ,
140
140
' onPressed: () {},' ,
141
141
' text: "Primary",' ,
142
142
' buttonType: ButtonType.primary,' ,
143
- ')," '
143
+ '),'
144
144
],
145
145
),
146
146
verticalMargin8,
147
147
Text ('Secondary' , style: TextStyles .regular2),
148
148
verticalMargin4,
149
149
const CodePreview (
150
150
code: [
151
- 'ButtonOutlined(", ' ,
151
+ 'ButtonOutlined(' ,
152
152
' onPressed: () {},' ,
153
153
' text: "Secondary",' ,
154
154
' buttonType: ButtonType.secondary,' ,
155
- ')," '
155
+ '),'
156
156
],
157
157
),
158
158
],
Original file line number Diff line number Diff line change @@ -76,83 +76,83 @@ class ButtonTextCode extends StatelessWidget {
76
76
verticalMargin4,
77
77
const CodePreview (
78
78
code: [
79
- 'ButtonText(", ' ,
79
+ 'ButtonText(' ,
80
80
' onPressed: () {},' ,
81
81
' text: "Info",' ,
82
82
' buttonType: ButtonType.info,' ,
83
- ')," '
83
+ '),'
84
84
],
85
85
),
86
86
verticalMargin8,
87
87
Text ('Success' , style: TextStyles .regular2),
88
88
verticalMargin4,
89
89
const CodePreview (
90
90
code: [
91
- 'ButtonText(", ' ,
91
+ 'ButtonText(' ,
92
92
' onPressed: () {},' ,
93
93
' text: "Success",' ,
94
94
' buttonType: ButtonType.success,' ,
95
- ')," '
95
+ '),'
96
96
],
97
97
),
98
98
verticalMargin8,
99
99
Text ('Warning' , style: TextStyles .regular2),
100
100
verticalMargin4,
101
101
const CodePreview (
102
102
code: [
103
- 'ButtonText(", ' ,
103
+ 'ButtonText(' ,
104
104
' onPressed: () {},' ,
105
105
' text: "Warning",' ,
106
106
' buttonType: ButtonType.warning,' ,
107
- ')," '
107
+ '),'
108
108
],
109
109
),
110
110
verticalMargin8,
111
111
Text ('Danger' , style: TextStyles .regular2),
112
112
verticalMargin4,
113
113
const CodePreview (
114
114
code: [
115
- 'ButtonText(", ' ,
115
+ 'ButtonText(' ,
116
116
' onPressed: () {},' ,
117
117
' text: "Danger",' ,
118
118
' buttonType: ButtonType.danger,' ,
119
- ')," '
119
+ '),'
120
120
],
121
121
),
122
122
verticalMargin8,
123
123
Text ('Help' , style: TextStyles .regular2),
124
124
verticalMargin4,
125
125
const CodePreview (
126
126
code: [
127
- 'ButtonText(", ' ,
127
+ 'ButtonText(' ,
128
128
' onPressed: () {},' ,
129
129
' text: "Help",' ,
130
130
' buttonType: ButtonType.help,' ,
131
- ')," '
131
+ '),'
132
132
],
133
133
),
134
134
verticalMargin8,
135
135
Text ('Primary' , style: TextStyles .regular2),
136
136
verticalMargin4,
137
137
const CodePreview (
138
138
code: [
139
- 'ButtonText(", ' ,
139
+ 'ButtonText(' ,
140
140
' onPressed: () {},' ,
141
141
' text: "Primary",' ,
142
142
' buttonType: ButtonType.primary,' ,
143
- ')," '
143
+ '),'
144
144
],
145
145
),
146
146
verticalMargin8,
147
147
Text ('Secondary' , style: TextStyles .regular2),
148
148
verticalMargin4,
149
149
const CodePreview (
150
150
code: [
151
- 'ButtonText(", ' ,
151
+ 'ButtonText(' ,
152
152
' onPressed: () {},' ,
153
153
' text: "Secondary",' ,
154
154
' buttonType: ButtonType.secondary,' ,
155
- ')," '
155
+ '),'
156
156
],
157
157
),
158
158
],
You can’t perform that action at this time.
0 commit comments