I am building a Bluetooth connection application with the following tabs. The device is the device I connected to, and forwardingIP is the IP of the device I want to control indirectly through the Device
Outside the screen, I create a FloatingActionButton, to scan and select the devices I want to control (forwardingIP).
I want when I choose new forwardingIP it will also update in my tabs, what to do?
body: TabBarView(
children: [
General(device : widget.device, IP: forwardingIP),
Control(device : widget.device, IP: forwardingIP),
Info(device : widget.device, IP: forwardingIP),
]
),
floatingActionButton: FloatingActionButton(
backgroundColor: Colors.red[600],
onPressed: (){},
child: Icon(Icons.playlist_play),
),