Last active
May 15, 2023 22:09
-
-
Save ookami-kb/ad789dfba46401b322dc6a7f6dd580bf to your computer and use it in GitHub Desktop.
unnecessary_overrides
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
class Foo { | |
const Foo(); | |
void foo() {} | |
} | |
class Bar extends Foo { | |
const Bar(); | |
@override | |
void foo() { | |
super.foo(); | |
} | |
} | |
class FooWidget extends StatefulWidget { | |
const FooWidget({super.key}); | |
@override | |
State<FooWidget> createState() => _FooWidgetState(); | |
} | |
class _FooWidgetState extends State<FooWidget> { | |
@override | |
void initState() { | |
super.initState(); | |
} | |
@override | |
Widget build(BuildContext context) => const Placeholder(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment