请我喝加密货币咖啡

特点

一个Flutter包,可帮助您将Buy me a crypto coffee小部件集成到您的Flutter应用中。

me

入门

您必须导入

import 'package:buy_me_a_crypto_coffee/buy_me_a_crypto_coffee.dart';

然后您就可以使用小部件了。

Container(
    width: 180,
    child: BuyMeACryptoCoffeeWidget(
    address: "Enter your address here",
            ),
        )

有关更深入的示例,请前往示例文件夹Github

配置

iOS

在Info.plist文件中,将任何URL方案作为LSApplicationQueriesSchemes条目添加。

示例

<key>LSApplicationQueriesSchemes</key>
<array>
  <string>https</string>
  <string>http</string>
</array>

安卓

从API 30开始,Android要求在AndroidManifest.xml中配置程序包可见性,否则将返回false。必须将一个元素添加为根元素的子元素。

<queries>
  <!-- If your app opens https URLs -->
  <intent>
    <action android:name="android.intent.action.VIEW" />
    <data android:scheme="https" />
  </intent>
</queries>

关于开发者

Twitter
领英
Github

GitHub

查看 Github