Removed overflow errors in example
This commit is contained in:
parent
9247dc2566
commit
2ad75d4f6f
|
@ -71,7 +71,13 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||||
kBottomNavigationBarHeight - kBottomNavigationBarHeight * value,
|
kBottomNavigationBarHeight - kBottomNavigationBarHeight * value,
|
||||||
child: Transform.translate(
|
child: Transform.translate(
|
||||||
offset: Offset(0.0, kBottomNavigationBarHeight * value * 0.5),
|
offset: Offset(0.0, kBottomNavigationBarHeight * value * 0.5),
|
||||||
child: Opacity(opacity: opacity, child: child),
|
child: Opacity(
|
||||||
|
opacity: opacity,
|
||||||
|
child: OverflowBox(
|
||||||
|
maxHeight: kBottomNavigationBarHeight,
|
||||||
|
child: child,
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
|
@ -97,16 +97,18 @@ class DetailedPlayer extends StatelessWidget {
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||||
children: [
|
children: [
|
||||||
text,
|
Flexible(child: text),
|
||||||
Row(
|
Flexible(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
child: Row(
|
||||||
children: [
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
buttonSkipBackwards,
|
children: [
|
||||||
buttonPlayExpanded,
|
buttonSkipBackwards,
|
||||||
buttonSkipForward
|
buttonPlayExpanded,
|
||||||
],
|
buttonSkipForward
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
progressIndicator,
|
Flexible(child: progressIndicator),
|
||||||
Container(),
|
Container(),
|
||||||
Container(),
|
Container(),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue