We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Follow the Effective Dart's Style
class SliderMenu { ... } class HttpRequest { ... } typedef Predicate<T> = bool Function(T value);
class Foo { const Foo([arg]); } @Foo(anArg) class A { ... } @Foo() class B { ... }
extension MyFancyList<T> on List<T> { ... } extension SmartIterable<T> on Iterable<T> { ... }
var item; HttpRequest httpRequest; void align(bool clearItems) { // ... }
const pi = 3.14; const defaultTimeout = 1000; final urlScheme = RegExp('^([a-z]+):'); class Dice { static final numberGenerator = Random(); }
const foo = Foo(); @foo class C { ... }
library peg_parser.source_scanner; import 'file_system.dart'; import 'slider_menu.dart';
import ~ as snake_case
import 'dart:math' as math; import 'package:angular_components/angular_components' as angular_components; import 'package:js/js.dart' as js;
import 'dart:async'; import 'dart:html'; import 'package:bar/bar.dart'; import 'package:foo/foo.dart';
if
else
this.attrName
X attr O this.attr
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Follow the Effective Dart's Style
PascalCase
camelCase
snake_case
import ~ as snake_case
)Additional
-> use a leading underscore for private identifiers.
*except:
if
statement with noelse
, in a single line.Object Oriented
this.attrName
when using attributes.The text was updated successfully, but these errors were encountered: