This file contains 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:flutter/material.dart'; | |
import 'package:state_management/MySchedule.dart'; | |
import 'package:pie_chart/pie_chart.dart'; | |
import 'package:provider/provider.dart'; | |
class MyChart extends StatefulWidget { | |
@override | |
_MyChartState createState() => _MyChartState(); | |
} |
This file contains 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:flutter/foundation.dart'; | |
class MySchedule extends ChangeNotifier { | |
double _stateManagementValue = 0; | |
double get stateManagementValue => _stateManagementValue; | |
set stateManagementValue(double value) { | |
_stateManagementValue = value; |
This file contains 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
{ | |
"embeddings": [ | |
{ | |
"tensorName": "My tensor", | |
"tensorShape": [ | |
1000, | |
50 | |
], | |
"tensorPath": "https://raw.githubusercontent.com/.../tensors.tsv", | |
"metadataPath": "https://raw.githubusercontent.com/.../optional.metadata.tsv" |
This file contains 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:flutter/material.dart'; | |
import 'package:webview_flutter/webview_flutter.dart'; | |
class WebViewContainer extends StatefulWidget { | |
final url; | |
WebViewContainer(this.url); | |
@override | |
createState() => _WebViewContainerState(this.url); | |
} | |
class _WebViewContainerState extends State<WebViewContainer> { | |
var _url; |
This file contains 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
List<Widget> _buildPageIndicator() { | |
List<Widget> list = []; | |
for (int i = 0; i < _numPages; i++) | |
//_numPages is the number of pages in Onboarding | |
{ | |
list.add(i == _currentPage ? _indicator(true) : _indicator(false)); | |
} | |
return list; | |
} |
NewerOlder