You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
886 B
31 lines
886 B
import 'package:flutter/material.dart'; |
|
import 'package:flutter_example_packages/base/di/app_di.dart'; |
|
import 'package:flutter_example_packages/pages/device_info_plus/model.dart'; |
|
import 'package:scoped_model/scoped_model.dart'; |
|
|
|
class DeviceInfoPlusPage extends StatefulWidget { |
|
const DeviceInfoPlusPage({ |
|
super.key, |
|
}); |
|
|
|
@override |
|
State<DeviceInfoPlusPage> createState() => _DeviceInfoPlusPageState(); |
|
} |
|
|
|
class _DeviceInfoPlusPageState extends State<DeviceInfoPlusPage> { |
|
@override |
|
Widget build(BuildContext context) { |
|
return ScopedModel<DeviceInfoPlusModel>( |
|
model: getIt<DeviceInfoPlusModel>(), |
|
child: ScopedModelDescendant<DeviceInfoPlusModel>(builder: (context, child, model) { |
|
return Wrap( |
|
spacing: 20, |
|
runSpacing: 20, |
|
children: const [ |
|
Text("data"), |
|
], |
|
); |
|
}), |
|
); |
|
} |
|
} |