chore: Fix some of the remaining lint problems (#1706)

Fix warnings raised by the avoid_void_async lint rule;

Remove rule use_enums, which is not available in Dart 2.16
This commit is contained in:
Pasha Stetsenko
2022-06-06 22:33:04 -07:00
committed by GitHub
parent b60c54b9fa
commit c34456b3f2
17 changed files with 16 additions and 17 deletions

View File

@ -17,7 +17,7 @@ import 'package:examples/stories/utils/utils.dart';
import 'package:examples/stories/widgets/widgets.dart';
import 'package:flutter/material.dart';
void main() async {
void main() {
final dashbook = Dashbook(
title: 'Flame Examples',
theme: ThemeData.dark(),