nocterm_lints 0.1.0-dev.1+2
nocterm_lints: ^0.1.0-dev.1+2 copied to clipboard
Nocterm lints add Assistants to the editor.
example/lib/main.dart
import 'package:nocterm/nocterm.dart';
void main() {
// Example app that uses the package's analysis settings.
// Run `dart analyze` in this `example/` directory to see lints/assists.
runApp(
NoctermApp(
title: 'Nocterm Lints Example',
home: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text('This is an example app for nocterm_lints.'),
Text('Run `dart analyze` to see lints/assists.'),
],
),
),
);
}
class SampleScreen extends StatelessComponent {
@override
Component build(BuildContext context) {
return Stack(
children: [
Text('This is a sample screen.'),
Text('It is not used in the main app.'),
],
);
}
}