flutter_agent_lints 1.0.1 copy "flutter_agent_lints: ^1.0.1" to clipboard
flutter_agent_lints: ^1.0.1 copied to clipboard

Strict Dart and Flutter analysis options for agent-implemented codebases. Every lint and diagnostic is an error or explicitly disabled with a reason.

example/lib/main.dart

import 'package:flutter/material.dart';

void main() => runApp(const CounterApp());

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

  @override
  Widget build(BuildContext context) =>
      const MaterialApp(title: 'Counter', home: CounterPage());
}

class CounterPage extends StatefulWidget {
  const new({super.key});

  @override
  State<CounterPage> createState() => _CounterPageState();
}

class _CounterPageState extends State<CounterPage> {
  var _count = 0;

  void _increment() => setState(() => _count++);

  @override
  Widget build(BuildContext context) => Scaffold(
    appBar: AppBar(title: const Text('Counter')),
    body: Center(
      child: Text('$_count', style: Theme.of(context).textTheme.displayMedium),
    ),
    floatingActionButton: FloatingActionButton(
      onPressed: _increment,
      tooltip: 'Increment',
      child: const Icon(Icons.add),
    ),
  );
}
0
likes
160
points
126
downloads

Documentation

API reference

Publisher

verified publisherpetertrost.com

Weekly Downloads

Strict Dart and Flutter analysis options for agent-implemented codebases. Every lint and diagnostic is an error or explicitly disabled with a reason.

Repository (GitHub)
View/report issues

Topics

#lints #analysis #flutter #agents #static-analysis

License

MIT (license)

More

Packages that depend on flutter_agent_lints