Skip to content

Commit d172b64

Browse files
committed
Reverted Flutter 3.29 minimum on the example app due to CI conflicts.
1 parent b7d2442 commit d172b64

File tree

2 files changed

+31
-37
lines changed

2 files changed

+31
-37
lines changed

example/lib/app/app.dart

Lines changed: 29 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -126,17 +126,15 @@ class _ChewieDemoState extends State<ChewieDemo> {
126126
},
127127
subtitle: Subtitles(subtitles),
128128
showSubtitles: true,
129-
subtitleBuilder:
130-
(context, dynamic subtitle) => Container(
131-
padding: const EdgeInsets.all(10.0),
132-
child:
133-
subtitle is InlineSpan
134-
? RichText(text: subtitle)
135-
: Text(
136-
subtitle.toString(),
137-
style: const TextStyle(color: Colors.black),
138-
),
139-
),
129+
subtitleBuilder: (context, dynamic subtitle) => Container(
130+
padding: const EdgeInsets.all(10.0),
131+
child: subtitle is InlineSpan
132+
? RichText(text: subtitle)
133+
: Text(
134+
subtitle.toString(),
135+
style: const TextStyle(color: Colors.black),
136+
),
137+
),
140138

141139
hideControlsTimer: const Duration(seconds: 1),
142140

@@ -180,21 +178,18 @@ class _ChewieDemoState extends State<ChewieDemo> {
180178
children: <Widget>[
181179
Expanded(
182180
child: Center(
183-
child:
184-
_chewieController != null &&
185-
_chewieController!
186-
.videoPlayerController
187-
.value
188-
.isInitialized
189-
? Chewie(controller: _chewieController!)
190-
: const Column(
191-
mainAxisAlignment: MainAxisAlignment.center,
192-
children: [
193-
CircularProgressIndicator(),
194-
SizedBox(height: 20),
195-
Text('Loading'),
196-
],
197-
),
181+
child: _chewieController != null &&
182+
_chewieController!
183+
.videoPlayerController.value.isInitialized
184+
? Chewie(controller: _chewieController!)
185+
: const Column(
186+
mainAxisAlignment: MainAxisAlignment.center,
187+
children: [
188+
CircularProgressIndicator(),
189+
SizedBox(height: 20),
190+
Text('Loading'),
191+
],
192+
),
198193
),
199194
),
200195
TextButton(
@@ -367,15 +362,14 @@ class _DelaySliderState extends State<DelaySlider> {
367362
),
368363
trailing: IconButton(
369364
icon: const Icon(Icons.save),
370-
onPressed:
371-
saved
372-
? null
373-
: () {
374-
widget.onSave(delay);
375-
setState(() {
376-
saved = true;
377-
});
378-
},
365+
onPressed: saved
366+
? null
367+
: () {
368+
widget.onSave(delay);
369+
setState(() {
370+
saved = true;
371+
});
372+
},
379373
),
380374
);
381375
}

example/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ version: 1.0.0
44
publish_to: none
55

66
environment:
7-
sdk: '>=3.7.0 <4.0.0'
8-
flutter: ">=3.29.0"
7+
sdk: '>=3.6.0 <4.0.0'
8+
flutter: ">=3.27.0"
99

1010
dependencies:
1111
chewie:

0 commit comments

Comments
 (0)