clean_arch_lint 1.1.0 copy "clean_arch_lint: ^1.1.0" to clipboard
clean_arch_lint: ^1.1.0 copied to clipboard

Custom lint rules for enforcing Clean Architecture boundaries in Flutter/Dart projects.

example/lib/main.dart

import 'package:flutter/material.dart';

void main(List<String> args) {
  runApp(const MyApp());
}

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

  @override
  State<HomeView> createState() => _HomeViewState();
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: HomeView(),
    );
  }
}

class _HomeViewState extends State<HomeView> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Clean Arch Lint Example'),
      ),
      body: const Center(
        child: Text('Hello, Clean Arch Lint!'),
      ),
    );
  }
}
0
likes
80
points
254
downloads

Publisher

unverified uploader

Weekly Downloads

Custom lint rules for enforcing Clean Architecture boundaries in Flutter/Dart projects.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, custom_lint_builder, path

More

Packages that depend on clean_arch_lint