gprs_convert 0.0.2 copy "gprs_convert: ^0.0.2" to clipboard
gprs_convert: ^0.0.2 copied to clipboard

GPRS Server protorcol library.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:gprs_convert_example/gprs_server_test.dart';

void main() {
  runApp(ExampleApp());
}

class ExampleApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'plugin example',
      home: Scaffold(
        appBar: AppBar(
          title: Text('plugin example'),
        ),
        body: 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 Center(
      child: Column(
        mainAxisAlignment: MainAxisAlignment.spaceEvenly,
        crossAxisAlignment: CrossAxisAlignment.center,
        children: [
          RaisedButton(
            onPressed: () {
              loginTest();
            },
            child: Text('login test'),
          ),
          RaisedButton(
            onPressed: () {
              queryTest();
            },
            child: Text('query test'),
          ),
        ],
      ),
    );
  }
}
0
likes
30
pub points
0%
popularity

Publisher

verified publisherxiaoyang.pro

GPRS Server protorcol library.

Homepage

License

MIT (LICENSE)

Dependencies

flutter, json_annotation, xml

More

Packages that depend on gprs_convert