Skip to content

Commit f70aed4

Browse files
committed
fix sample
1 parent 9d5d20f commit f70aed4

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

flutter/example/lib/main.dart

-20
Original file line numberDiff line numberDiff line change
@@ -124,26 +124,6 @@ class MainScaffold extends StatelessWidget {
124124
child: Column(
125125
children: [
126126
const Center(child: Text('Trigger an action:\n')),
127-
Card(
128-
child: GestureDetector(
129-
key: Key('btn_4'),
130-
onTap: () => {
131-
print('Button 4'),
132-
},
133-
child: Stack(
134-
children: [
135-
//fancy card layout
136-
ElevatedButton(
137-
key: Key('btn_5'),
138-
onPressed: () => {
139-
print('button pressed 5'),
140-
},
141-
child: const Text('Button 5'),
142-
),
143-
],
144-
),
145-
),
146-
),
147127
ElevatedButton(
148128
onPressed: () => SecondaryScaffold.openSecondaryScaffold(context),
149129
child: const Text('Open another Scaffold'),

0 commit comments

Comments
 (0)