File tree Expand file tree Collapse file tree 2 files changed +17
-13
lines changed
packages/diagrams/lib/src Expand file tree Collapse file tree 2 files changed +17
-13
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ import 'package:flutter/material.dart';
88
99import 'diagram_step.dart' ;
1010
11- // ignore_for_file: deprecated_member_use, https://github.com/flutter/flutter/issues/148709
12-
1311class CardDiagram extends StatelessWidget with DiagramMetadata {
1412 const CardDiagram ({super .key});
1513
@@ -35,17 +33,23 @@ class CardDiagram extends StatelessWidget with DiagramMetadata {
3533 title: Text ('The Enchanted Nightingale' ),
3634 subtitle: Text ('Music by Julie Gable. Lyrics by Sidney Stein.' ),
3735 ),
38- ButtonBar (
39- children: < Widget > [
40- TextButton (
41- child: const Text ('BUY TICKETS' ),
42- onPressed: () {},
43- ),
44- TextButton (
45- child: const Text ('LISTEN' ),
46- onPressed: () {},
47- ),
48- ],
36+ Padding (
37+ padding: const EdgeInsets .symmetric (horizontal: 8.0 ),
38+ child: OverflowBar (
39+ alignment: MainAxisAlignment .end,
40+ spacing: 8.0 ,
41+ overflowSpacing: 8.0 ,
42+ children: < Widget > [
43+ TextButton (
44+ child: const Text ('BUY TICKETS' ),
45+ onPressed: () {},
46+ ),
47+ TextButton (
48+ child: const Text ('LISTEN' ),
49+ onPressed: () {},
50+ ),
51+ ],
52+ ),
4953 ),
5054 ],
5155 ),
You can’t perform that action at this time.
0 commit comments