flutteradgents 0.3.2 copy "flutteradgents: ^0.3.2" to clipboard
flutteradgents: ^0.3.2 copied to clipboard

Flutteradgents is a tool for testers and QA teams that, directly within the project, lets them log into Jira, capture and annotate screenshots, and quickly create and assign bug tickets with all the n [...]

example/lib/main.dart

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

/// Set your project ID here. Leave empty or invalid to see the configuration error screen.
/// ID demo : fad_e9f82dfd59d412f1464dd7845c332602
const String kProjectId = 'fad_e9f82dfd59d412f1464dd7845c332602';

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

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

  @override
  Widget build(BuildContext context) {
    final configError = FlutteradgentsSettings.projectIdValidationMessage(
      kProjectId,
    );

    if (configError != null) {
      return MaterialApp(
        title: 'flutteradgents example',
        debugShowCheckedModeBanner: false,
        home: Scaffold(
          body: SafeArea(
            child: FlutteradgentsConfigurationError(
              title: 'Invalid project ID',
              message: configError,
            ),
          ),
        ),
      );
    }

    return FlutteradgentsHosts(
      settings: FlutteradgentsSettings.simple(projectId: kProjectId),
      child: MaterialApp(
        title: 'flutteradgents example',
        debugShowCheckedModeBanner: false,
        builder: Flutteradgents.materialAppBuilder,
        home: const HomePage(),
      ),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('flutteradgents example')),
      body: ListView(
        padding: const EdgeInsets.all(20),
        children: [
          Center(
            child: ElevatedButton(
              onPressed: () => Flutteradgents.showFeedback(context),
              child: const Text('Open feedback'),
            ),
          ),
        ],
      ),
    );
  }
}
0
likes
25
points
42
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

Flutteradgents is a tool for testers and QA teams that, directly within the project, lets them log into Jira, capture and annotate screenshots, and quickly create and assign bug tickets with all the necessary technical details included.

Topics

#flutter #jira #qa #feedback #testing

License

unknown (license)

Dependencies

app_links, archive, crop_your_image, device_info_plus, dio, flutter, flutter_localizations, flutter_secure_storage, flutter_web_auth_2, http_parser, image, package_info_plus, shared_preferences, url_launcher, widget_recorder_flutter

More

Packages that depend on flutteradgents