fruitninja 0.0.1 copy "fruitninja: ^0.0.1" to clipboard
fruitninja: ^0.0.1 copied to clipboard

Fruits are cutted for you with the fingers.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'dart:async';

//import 'package:flutter/services.dart';
import 'package:fruitninja/fruitninja.dart';
//import 'package:fruitninja_example/Path.dart';
//import 'package:fruitninja_example/slice_painter.dart';
import 'package:fruitninja_example/initial_screen.dart';


void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  String _platformVersion = 'Unknown';
  final _fruitninjaPlugin = Fruitninja();

  @override
  void initState() {
    super.initState();

  }

  @override
  Widget build(BuildContext context) {
    return  MaterialApp(
        title: 'Testing',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: InitialScreen(),
    );
  }
}
1
likes
140
points
18
downloads

Publisher

unverified uploader

Weekly Downloads

Fruits are cutted for you with the fingers.

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on fruitninja