slipstream_agent 0.1.0 copy "slipstream_agent: ^0.1.0" to clipboard
slipstream_agent: ^0.1.0 copied to clipboard

An in-process companion for the Flutter Slipstream agent tools.

example/example.dart

import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:slipstream_agent/slipstream_agent.dart';

void main() {
  if (kDebugMode) {
    SlipstreamAgent.init();
  }

  runApp(const SlipstreamExampleApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('Slipstream Agent Example')),
        body: const Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              Text('The Slipstream agent is active!'),
              SizedBox(height: 16),
              ElevatedButton(
                onPressed: null,
                child: Text('Target me with the agent'),
              ),
            ],
          ),
        ),
      ),
    );
  }
}
0
likes
0
points
201
downloads

Publisher

unverified uploader

Weekly Downloads

An in-process companion for the Flutter Slipstream agent tools.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, service_extensions

More

Packages that depend on slipstream_agent