foundation_fluttify 0.13.0-dev.2 copy "foundation_fluttify: ^0.13.0-dev.2" to clipboard
foundation_fluttify: ^0.13.0-dev.2 copied to clipboard

outdated

Foundation for `Fluttify`.

example/lib/main.dart

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

void main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('Plugin example app')),
      ),
    );
  }

  Future<void> _testAddProperty() async {
    final target = await CGPoint.create(225, 556);
    final target1 = await CGPoint.create(112, 556);
    await target.addProperty__(1, target1);

    final result = await target.getProperty__(1);
    final target1Result = CGPoint()..refId = result.refId;
    debugPrint('结果: ${await target1Result.x}');
  }
}
0
likes
0
points
201
downloads

Publisher

verified publisherfluttify.com

Weekly Downloads

Foundation for `Fluttify`.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on foundation_fluttify