보관함 전체 상태 데이터 요청 코드 추가
This commit is contained in:
@@ -45,6 +45,15 @@ Future<void> _runLockerAction(String name, Future<bool> Function() action) async
|
||||
|
||||
// 25.12.03 지은 추가 끝
|
||||
|
||||
void test() async {
|
||||
final data = await _api.getTimeseries(target: "*", limit: 200);
|
||||
|
||||
if (data != null) {
|
||||
print("받은 데이터 길이: ${data['samples'].length}");
|
||||
print(data['samples'][0]); // 첫 번째 데이터 출력
|
||||
}
|
||||
}
|
||||
|
||||
int _selectedImageIndex = 0;
|
||||
|
||||
static const BoxShadow _cleanShadow = BoxShadow(
|
||||
@@ -63,6 +72,7 @@ Future<void> _runLockerAction(String name, Future<bool> Function() action) async
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
test();
|
||||
return Container(
|
||||
color: _pageBackgroundColor,
|
||||
child: Column(
|
||||
|
||||
Reference in New Issue
Block a user