删除了多余的初始化
This commit is contained in:
parent
4ee8aaebc4
commit
2e6ca9d2ef
@ -34,8 +34,8 @@ class _HomePageState extends State<HomePage> {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
carIpController.text = '192.168.137.34';
|
carIpController.text = '';
|
||||||
cameraIpController.text = '192.168.137.121';
|
cameraIpController.text = '';
|
||||||
GlobalSettingState globalSettingState = context.watch<GlobalSettingState>();
|
GlobalSettingState globalSettingState = context.watch<GlobalSettingState>();
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
body: globalSettingState.cameraIP != '' && globalSettingState.carIP != '' ?
|
body: globalSettingState.cameraIP != '' && globalSettingState.carIP != '' ?
|
||||||
|
Loading…
Reference in New Issue
Block a user