File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
open_wearable/lib/widgets/sensors/configuration Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import 'package:open_wearable/widgets/sensors/configuration/sensor_configuration
88import 'package:provider/provider.dart' ;
99
1010import '../../../view_models/sensor_configuration_provider.dart' ;
11+ import '../../devices/device_detail/stereo_pos_label.dart' ;
1112
1213/// A widget that displays a list of sensor configurations for a device.
1314class SensorConfigurationDeviceRow extends StatefulWidget {
@@ -53,9 +54,16 @@ class _SensorConfigurationDeviceRowState extends State<SensorConfigurationDevice
5354 crossAxisAlignment: CrossAxisAlignment .stretch,
5455 children: [
5556 PlatformListTile (
56- title: PlatformText (
57- device.name,
58- style: Theme .of (context).textTheme.bodyLarge? .copyWith (fontWeight: FontWeight .bold),
57+ title: Column (
58+ crossAxisAlignment: CrossAxisAlignment .start,
59+ children: [
60+ PlatformText (
61+ device.name,
62+ style: Theme .of (context).textTheme.bodyLarge? .copyWith (fontWeight: FontWeight .bold),
63+ ),
64+ if (device is StereoDevice )
65+ StereoPosLabel (device: device as StereoDevice ),
66+ ],
5967 ),
6068 trailing: _buildTabBar (context),
6169 ),
You can’t perform that action at this time.
0 commit comments