Make MultiChildRenderObjectWidget const (#119195)
This commit is contained in:
committed by
GitHub
parent
9b3b9cf089
commit
6a5405925d
@@ -55,8 +55,8 @@ class PlatformViewLayout extends StatelessWidget {
|
||||
child: Material(
|
||||
elevation: (index % 5 + 1).toDouble(),
|
||||
color: Colors.white,
|
||||
child: Stack(
|
||||
children: const <Widget> [
|
||||
child: const Stack(
|
||||
children: <Widget> [
|
||||
DummyPlatformView(),
|
||||
RotationContainer(),
|
||||
],
|
||||
|
||||
@@ -59,8 +59,8 @@ class PlatformViewLayout extends StatelessWidget {
|
||||
child: Material(
|
||||
elevation: (index % 5 + 1).toDouble(),
|
||||
color: Colors.white,
|
||||
child: Stack(
|
||||
children: const <Widget> [
|
||||
child: const Stack(
|
||||
children: <Widget> [
|
||||
DummyPlatformView(),
|
||||
RotationContainer(),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user