iws_feedback 0.3.0 copy "iws_feedback: ^0.3.0" to clipboard
iws_feedback: ^0.3.0 copied to clipboard

unlisted

Plugin to request user feedback.

example/main.dart

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

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

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const SizedBox(height: 20),
            IwsFeedback().feedbackBottomSheet(
                userIdentifier: "customerId", customerName: "Customer"),
          ],
        ),
      ),
    );
  }
}
0
likes
0
points
18
downloads

Publisher

unverified uploader

Weekly Downloads

Plugin to request user feedback.

Homepage

License

unknown (license)

Dependencies

flutter, iws_device_info, iws_form_bloc

More

Packages that depend on iws_feedback