This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:agora_badger/remote_video_views_widget.dart'; | |
import 'package:agora_rtc_engine/agora_rtc_engine.dart'; | |
import 'package:agora_uikit/agora_uikit.dart'; | |
import 'package:flutter/material.dart'; | |
class AgoraLiveStream extends StatefulWidget { | |
final String appId; | |
final String channelId; | |
final String token; | |
final String relayChannelId; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Only the original thread that created a view hierarchy can touch its views |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// WIdget input data | |
/// ================== | |
/// List of [KirkseyDeviceActivationRecord] | |
List<KirkseyDeviceActivation> deviceActivations = []; | |
/// unitId | |
/// set as 7 for demo | |
int unitId = 7; | |
/// Date of selected chart |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:fl_chart/fl_chart.dart'; | |
class CustomBarChart extends StatefulWidget { | |
const CustomBarChart({ | |
Key key, | |
this.width, | |
this.height, | |
this.values, | |
this.path1, | |
this.path2, |