Skip to content

Commit

Permalink
(#1) Apply Flutter v2.5.0 lint
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrintt committed Oct 16, 2021
1 parent 5177c48 commit 4d01509
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shinoa/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ linter:
# producing the lint.
rules:
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule

# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
3 changes: 2 additions & 1 deletion shinoa/lib/view/calculator.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:shinoa/theme.dart';

import 'display.dart';
Expand All @@ -19,7 +20,7 @@ class _CalculatorState extends State<Calculator> {
backgroundColor: kBackgroundColor,
appBar: AppBar(
backgroundColor: kBackgroundColor,
brightness: Brightness.dark,
systemOverlayStyle: SystemUiOverlayStyle.dark,
elevation: 0,
),
body: Column(
Expand Down
1 change: 1 addition & 0 deletions shinoa/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ environment:
sdk: ">=2.12.0 <3.0.0"

dependencies:
flutter_lints: ^1.0.4
flutter:
sdk: flutter

Expand Down

0 comments on commit 4d01509

Please sign in to comment.