hi_share_ios 1.0.6 copy "hi_share_ios: ^1.0.6" to clipboard
hi_share_ios: ^1.0.6 copied to clipboard

outdated

iOS implementation of the hi_share plugin.

example/lib/main.dart

import 'dart:developer';
import 'package:flutter/material.dart';
import 'package:hi_share_ios/hi_share_ios.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_share_ios'),
        ),
        body: Center(
          child: InkWell(
            child: Text('test'),
            onTap: _doTap,
          ),
        ),
      ),
    );
  }

  void _doTap() async {
    var result = await HiShareIOS().show();
    log('result: $result');
  }
}
0
likes
0
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

iOS implementation of the hi_share plugin.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, hi_share_platform_interface

More

Packages that depend on hi_share_ios

Packages that implement hi_share_ios