apex_flutter_plugin 4.0.20
apex_flutter_plugin: ^4.0.20 copied to clipboard
ApexTeam Flutter Plugin - A simple flutter plugin for ApexTeam fellas which supports http request management, request encryption, request cancellation, ... .
example/lib/main.dart
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
void main() {
debugDefaultTargetPlatformOverride = TargetPlatform.fuchsia;
// runApp(ServerWidget(
// actions: {
// Res: (x) => Res.fromJson(x),
// },
// config: ApiConfig("https://google.com", "1", "1", debugMode: true),
// child: MaterialApp(
// theme: ThemeData(fontFamily: 'IRANSans'),
// home: 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 Scaffold(
body: GestureDetector(
onTap: () {
},
child: Container(
color: Colors.blue,
child: Center(child: Text('Hello baby!')))),
);
}
}