A Plugin to Be Able To Access Our Connected Widget

Metriport Flutter SDK

A Flutter package to render our widget to be able to connect with available providers.

Quickstart

See our developer documentation to get started.

            ,▄,
          ▄▓███▌
      ▄▀╙   ▀▓▀    ²▄
    ▄└               ╙▌
  ,▀                   ╨▄
  ▌                     ║
                         ▌
                         ▌
,▓██▄                 ╔███▄
╙███▌                 ▀███▀
    ▀▄
      ▀╗▄         ,▄
         '╙▀▀▀▀▀╙''
      by Metriport Inc.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add metriport_flutter

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  metriport_flutter: ^1.0.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:metriport_flutter/metriport_flutter.dart'; 

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:metriport_flutter/metriport_flutter.dart';

void main() => runApp(const WebViewExample());

class WebViewExample extends StatelessWidget {
  const WebViewExample({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('Flutter WebView example')),
        body: const Column(
          children: [
            Expanded(
              child: WebView(
                clientApiKey: "CLIENT_API_KEY",
                token: "CONNECT_TOKEN",
                colorMode: "dark",
                customColor: "green",
                sandbox: false,
                providers: ["fitbit", "cronometer"],
              ),
            )
          ],
        ),
      ),
    );
  }
} 

Download details:

Author: 

Source: https://pub.dev/packages/metriport_flutter

#flutter #widgets 

A Plugin to Be Able To Access Our Connected Widget
1.00 GEEK