File tree 2 files changed +17
-13
lines changed
packages/diagrams/lib/src
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';
8
8
9
9
import 'diagram_step.dart' ;
10
10
11
- // ignore_for_file: deprecated_member_use, https://github.com/flutter/flutter/issues/148709
12
-
13
11
class CardDiagram extends StatelessWidget with DiagramMetadata {
14
12
const CardDiagram ({super .key});
15
13
@@ -35,17 +33,23 @@ class CardDiagram extends StatelessWidget with DiagramMetadata {
35
33
title: Text ('The Enchanted Nightingale' ),
36
34
subtitle: Text ('Music by Julie Gable. Lyrics by Sidney Stein.' ),
37
35
),
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
+ ),
49
53
),
50
54
],
51
55
),
You can’t perform that action at this time.
0 commit comments