wiredash
Wiredash 是一個用於 Flutter 應用的互動式使用者反饋工具,包含推薦人評分功能。
Flutter 的互動式使用者回饋工具 🎉
^2.0.0^1.1.0>=1.15.0 <2.0.0>=8.0.0 <14.0.0>=6.0.0 <8.0.0{"sdk":"flutter"}{"sdk":"flutter"}>=0.13.0 <2.0.0>=4.0.0 <5.0.0>=0.16.0 <2.0.0>=0.1.2 <1.0.0^2.0.1>=3.0.0 <11.0.0>=2.0.0 <3.0.0>=3.1.0 <5.0.0>=2.0.0 <3.0.0>=0.5.1 <2.0.0any{"sdk":"flutter"}>=1.10.0 <3.0.0^0.18.0^1.21.0^2.0.0以下為英文專案原文快照,最新內容請造訪 GitHub。
Pub Build Pub Likes Popularity Pub points Website
wiredash.com | Console | Pub | Documentation | Get Started
Wiredash Logo
From members of the Flutter Community 💙 for the Flutter Community 💙
It takes less than 180 seconds to integrate Wiredash in your existing app 🚀
Visit docs.wiredash.com for the in-depth guide and additional info.
Start by visiting the Wiredash Console: Wiredash Console. Create your free account using Google or GitHub or request an email sign-in link.
Then create a project with a descriptive name.
flutter pub add wiredash:^2.7.0
dependencies:
flutter:
sdk: flutter
...
wiredash: ^2.7.0
Wrap the root widget of your existing app with Wiredash and make sure to fill in the projectId and SDK secret from the Wiredash Console > Your project > Settings > General Settings.
import 'package:flutter/material.dart';
import 'package:wiredash/wiredash.dart';
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Wiredash(
projectId: 'YOUR-PROJECT-ID',
secret: 'YOUR-SECRET',
child: MaterialApp(
// Your Flutter app is basically Wiredash's direct child.
// This can be a MaterialApp, WidgetsApp or whatever widget you like.
),
);
}
}
That's already it. Yes, it's really that easy.
Call the Wiredash.of(context).show() method from anywhere in your app to launch the Wiredash Feedback flow.
FloatingActionButton(
onPressed: () {
Wiredash.of(context).show(inheritMaterialTheme: true);
},
child: Icon(Icons.feedback_outlined),
),
Checkout examples/theming for the full example or head to the documentation for more info.
FloatingActionButton(
onPressed: () {
Wiredash.of(context).showPromoterSurvey(force: true);
},
child: Icon(Icons.feedback_outlined),
),
Checkout examples/promoter_score for the full example or head to the documentation for more info.
The Wiredash SDK is released under the Attribution Assurance License which is redundant with BSD. See LICENSE for details.