leadlink_api_lc 0.0.4 leadlink_api_lc: ^0.0.4 copied to clipboard
Fujian LEAD Equipment Automation Co., LTD. Based on LEADLINK project network API interface.The bottom layer is implemented by LeanCloud cloud development technology, and this API component can be used [...]
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text('力联API组件'),
),
body: Center(
child: RaisedButton(child: Text('测试'),onPressed:onPressAction),
),
),
);
}
// 测试
void onPressAction(){
}
}