@@ -111,16 +111,10 @@ class _ButtonExampleState extends State<ButtonExample> {
111111 Column (
112112 children: groupButtons (ZetaWidgetBorder .rounded),
113113 ),
114- Text ('Floating Action Buttons' ,
115- style: ZetaTextStyles .displayMedium),
116- Text ('Tap buttons to change current FAB: ' ,
117- style: ZetaTextStyles .bodyMedium),
118- Wrap (
119- children:
120- fabs.divide (SizedBox .square (dimension: 10 )).toList ()),
121- ]
122- .divide (const SizedBox .square (dimension: ZetaSpacing .m))
123- .toList (),
114+ Text ('Floating Action Buttons' , style: ZetaTextStyles .displayMedium),
115+ Text ('Tap buttons to change current FAB: ' , style: ZetaTextStyles .bodyMedium),
116+ Wrap (children: fabs.divide (SizedBox .square (dimension: 10 )).toList ()),
117+ ].divide (const SizedBox .square (dimension: ZetaSpacing .m)).toList (),
124118 ),
125119 ),
126120 Expanded (child: const SizedBox ()),
@@ -178,63 +172,62 @@ class _ButtonExampleState extends State<ButtonExample> {
178172
179173 List <Widget > groupButtons (ZetaWidgetBorder ) {
180174 return [
181- ZetaButtonGroup (
182- isLarge: true ,
183- rounded: true ,
184- buttons: [
185- GroupButton (
175+ ZetaButtonGroup (isLarge: true , rounded: true , buttons: [
176+ ZetaGroupButton (
177+ onPressed: () {},
186178 label: "Label" ,
187179 ),
188- GroupButton (
180+ ZetaGroupButton (
181+ onPressed: () {},
189182 label: "Label" ,
190183 ),
191184 ]),
192- ZetaButtonGroup (
193- isLarge: true ,
194- rounded: true ,
195- buttons: [
196- GroupButton (
185+ ZetaButtonGroup (isLarge: true , rounded: true , buttons: [
186+ ZetaGroupButton (
187+ onPressed: () {},
197188 label: "Label" ,
198189 ),
199- GroupButton .dropdown (
190+ ZetaGroupButton .dropdown (
200191 onPressed: () {},
201192 label: "Label" ,
193+ dropdown: SizedBox (height: 100 , width: 100 ),
202194 ),
203195 ]),
204196 ZetaButtonGroup (
205- isLarge: true ,
206- rounded: true ,
197+ isLarge: true ,
198+ rounded: true ,
207199 buttons: [
208- GroupButton .icon (
200+ ZetaGroupButton .icon (
209201 icon: ZetaIcons .star_round,
202+ onPressed: () {},
210203 label: "Label" ,
211204 ),
212- GroupButton .dropdown (
205+ ZetaGroupButton .dropdown (
213206 onPressed: () {},
214207 label: "Label" ,
208+ dropdown: SizedBox (height: 100 , width: 100 ),
215209 ),
216- GroupButton .icon (
217-
210+ ZetaGroupButton .icon (
218211 icon: ZetaIcons .star_round,
219212 label: "Label" ,
220213 ),
221214 ],
222215 ),
223216 ZetaButtonGroup (
224217 isLarge: true ,
225- rounded: true ,
218+ rounded: true ,
226219 buttons: [
227- GroupButton .icon (
220+ ZetaGroupButton .icon (
228221 icon: ZetaIcons .star_round,
229222 label: "Label" ,
230223 onPressed: () {},
231224 ),
232- GroupButton .icon (
225+ ZetaGroupButton .icon (
233226 icon: ZetaIcons .star_round,
234227 label: "Label" ,
235228 onPressed: () {},
236229 ),
237- GroupButton .icon (
230+ ZetaGroupButton .icon (
238231 icon: ZetaIcons .star_round,
239232 label: "Label" ,
240233 onPressed: () {},
0 commit comments