|
|
|
@ -73,7 +73,8 @@ class _SingleDevicePickerState extends State<SingleDevicePicker> {
|
|
|
|
_subtitle = AppLocalization.of(context).subtitle;
|
|
|
|
_subtitle = AppLocalization.of(context).subtitle;
|
|
|
|
return Scaffold(
|
|
|
|
return Scaffold(
|
|
|
|
resizeToAvoidBottomInset: false,
|
|
|
|
resizeToAvoidBottomInset: false,
|
|
|
|
body: LoadingManager(
|
|
|
|
body: SafeArea(
|
|
|
|
|
|
|
|
child: LoadingManager(
|
|
|
|
isLoading: _devicesProvider.isLoading,
|
|
|
|
isLoading: _devicesProvider.isLoading,
|
|
|
|
stateCode: _devicesProvider.stateCode,
|
|
|
|
stateCode: _devicesProvider.stateCode,
|
|
|
|
isFailedLoading: _devicesProvider.devices == null,
|
|
|
|
isFailedLoading: _devicesProvider.devices == null,
|
|
|
|
@ -83,7 +84,7 @@ class _SingleDevicePickerState extends State<SingleDevicePicker> {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
const SizedBox(height: 48),
|
|
|
|
const SizedBox(height: 16),
|
|
|
|
Padding(
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.symmetric(vertical: 8, horizontal: 16),
|
|
|
|
padding: const EdgeInsets.symmetric(vertical: 8, horizontal: 16),
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
@ -150,6 +151,7 @@ class _SingleDevicePickerState extends State<SingleDevicePicker> {
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
floatingActionButton: FloatingActionButton(
|
|
|
|
floatingActionButton: FloatingActionButton(
|
|
|
|
heroTag: "some tag 2",
|
|
|
|
heroTag: "some tag 2",
|
|
|
|
child: const Icon(Icons.qr_code_scanner),
|
|
|
|
child: const Icon(Icons.qr_code_scanner),
|
|
|
|
|