staging_loop 0.0.6 copy "staging_loop: ^0.0.6" to clipboard
staging_loop: ^0.0.6 copied to clipboard

A new Flutter package that provides enhanced security for API calls. In the latest version, we have added token security. This includes fetching a token from the server and including it in subsequent [...]

example/lib/main.dart

import 'package:flutter/material.dart';

import 'package:staging_loop/whistle_pixel_fire.dart';

void main() {
  runApp( MyApp());
  WhistleLoop.initialize();

}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {

void initState() {
    super.initState();

  }


  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[

            ElevatedButton(
              child: Text('Fetch All Data'),
              onPressed: () {
                whistleLoopEvents("Sendsms");
              },
            ),
          ],
        ),
      ),
    );
  }
}
2
likes
0
points
30
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter package that provides enhanced security for API calls. In the latest version, we have added token security. This includes fetching a token from the server and including it in subsequent API requests.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

advertising_id, connectivity_plus, device_info_plus, flutter, flutter_timezone, flutter_web_plugins, get_ip_address, http, package_info_plus, plugin_platform_interface

More

Packages that depend on staging_loop