hi_config 1.0.2 copy "hi_config: ^1.0.2" to clipboard
hi_config: ^1.0.2 copied to clipboard

Flutter plugin for native configuration.

example/lib/main.dart

import 'dart:developer';

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

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('hi_config'),
        ),
        body: Center(
          child: InkWell(
            onTap: _doTap,
            child: const Text('test'),
          ),
        ),
      ),
    );
  }

  void _doTap() async {
    var result = await HiConfig.shared().baseLink();
    log('result: $result');
  }
}
1
likes
105
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin for native configuration.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

flutter, hi_config_android, hi_config_ios, hi_config_platform_interface

More

Packages that depend on hi_config

Packages that implement hi_config