mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
Beta (#1234)
This commit is contained in:
@@ -34,15 +34,15 @@ class EventChannelDemo extends StatelessWidget {
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Text(
|
||||
'x axis: ' + snapshot.data!.x.toStringAsFixed(3),
|
||||
'x axis: ${snapshot.data!.x.toStringAsFixed(3)}',
|
||||
style: textStyle,
|
||||
),
|
||||
Text(
|
||||
'y axis: ' + snapshot.data!.y.toStringAsFixed(3),
|
||||
'y axis: ${snapshot.data!.y.toStringAsFixed(3)}',
|
||||
style: textStyle,
|
||||
),
|
||||
Text(
|
||||
'z axis: ' + snapshot.data!.z.toStringAsFixed(3),
|
||||
'z axis: ${snapshot.data!.z.toStringAsFixed(3)}',
|
||||
style: textStyle,
|
||||
)
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user