我想在我的flutter应用程序中使用nima,这是我的飞镖代码
import 'package:flutter/material.dart';
import 'package:sbmptn_indonesia/Tools/nima_actor.dart';
class PagePlace extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
width:600,
height: 1000,
child: new NimaActor(
'assets/Robot.nma', alignment: Alignment.center, fit: BoxFit.contain, animation:'idle', mixSeconds: 0.2,
),
);
}
}
救救我