Skip to content

Instantly share code, notes, and snippets.

View lsaudon's full-sized avatar
🐕
Woof woof

Lucas SAUDON lsaudon

🐕
Woof woof
View GitHub Profile
@lsaudon
lsaudon / analysis_options.yaml
Last active November 14, 2025 19:53
dart linter + dcm free
analyzer:
language:
strict-casts: true
strict-inference: true
strict-raw-types: true
exclude:
- 'example/**'
- 'build/**'
- '**/*.g.dart'
- '**/*.freezed.dart'
@lsaudon
lsaudon / dropdown_button_raw.dart
Last active January 24, 2025 11:23
Simplest Dropdown Menu in Flutter
import 'package:flutter/material.dart';
class DropdownButtonRaw<T> extends StatefulWidget {
const DropdownButtonRaw({
super.key,
required this.items,
required this.value,
required this.onChanged,
});
@lsaudon
lsaudon / .editorconfig
Last active May 6, 2022 08:05
Editorconfig csharp all rules
[*]
csharp_indent_block_contents = true
csharp_indent_braces = false
csharp_indent_case_contents = true
csharp_indent_case_contents_when_block = false
csharp_indent_labels = one_less_than_current
csharp_indent_switch_labels = true
csharp_new_line_before_catch = true
csharp_new_line_before_else = true