Skip to content

Instantly share code, notes, and snippets.

import 'dart:async';
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
void main() async {
Future<void> _notifierTest() async {
await Future.delayed(Duration(seconds: 1));
final iNotifier = ValueNotifier<int>(null);
import 'package:flutter/material.dart';
import 'package:curved_navigation_bar/curved_navigation_bar.dart';
void main() => runApp(MaterialApp(home: BottomNavBar()));
class BottomNavBar extends StatefulWidget {
@override
_BottomNavBarState createState() => _BottomNavBarState();
}
fun main(args: Array<String>) {
val seed = 13455.toLong()
val recordReader = CSVRecordReader(0, ',')
recordReader.initialize(FileSplit(ClassPathResource("data.csv").file))
//reader,label index,number of possible labels
val labelIndex = 0
val numClasses = 6
val batchSize = 106