Enable library_private_types_in_public_api lint (#81578)

This commit is contained in:
Michael Goderbauer
2021-05-10 16:26:16 -07:00
committed by GitHub
parent b878b11f0c
commit b8a2456737
263 changed files with 590 additions and 574 deletions

View File

@@ -299,7 +299,7 @@ class DemoButton extends StatefulWidget {
final String name;
@override
_DemoButtonState createState() => _DemoButtonState();
State<DemoButton> createState() => _DemoButtonState();
}
class _DemoButtonState extends State<DemoButton> {
@@ -351,7 +351,7 @@ class FocusDemo extends StatefulWidget {
static GlobalKey appKey = GlobalKey();
@override
_FocusDemoState createState() => _FocusDemoState();
State<FocusDemo> createState() => _FocusDemoState();
}
class _FocusDemoState extends State<FocusDemo> {

View File

@@ -41,7 +41,7 @@ class MyHomePage extends StatefulWidget {
final String title;
@override
_MyHomePageState createState() => _MyHomePageState();
State<MyHomePage> createState() => _MyHomePageState();
}
class OptionModel extends ChangeNotifier {
@@ -139,7 +139,7 @@ class Options extends StatefulWidget {
final OptionModel model;
@override
_OptionsState createState() => _OptionsState();
State<Options> createState() => _OptionsState();
}
class _OptionsState extends State<Options> {

View File

@@ -20,7 +20,7 @@ class DemoButton extends StatefulWidget {
final bool autofocus;
@override
_DemoButtonState createState() => _DemoButtonState();
State<DemoButton> createState() => _DemoButtonState();
}
class _DemoButtonState extends State<DemoButton> {
@@ -77,7 +77,7 @@ class FocusDemo extends StatefulWidget {
const FocusDemo({Key key}) : super(key: key);
@override
_FocusDemoState createState() => _FocusDemoState();
State<FocusDemo> createState() => _FocusDemoState();
}
class _FocusDemoState extends State<FocusDemo> {

View File

@@ -33,7 +33,7 @@ class HoverDemo extends StatefulWidget {
const HoverDemo({Key key}) : super(key: key);
@override
_HoverDemoState createState() => _HoverDemoState();
State<HoverDemo> createState() => _HoverDemoState();
}
class _HoverDemoState extends State<HoverDemo> {

View File

@@ -409,7 +409,7 @@ class AnimationDemo extends StatefulWidget {
const AnimationDemo({ Key key }) : super(key: key);
@override
_AnimationDemoState createState() => _AnimationDemoState();
State<AnimationDemo> createState() => _AnimationDemoState();
}
class _AnimationDemoState extends State<AnimationDemo> with TickerProviderStateMixin {

View File

@@ -23,7 +23,7 @@ class RawKeyboardDemo extends StatefulWidget {
const RawKeyboardDemo({Key key}) : super(key: key);
@override
_HardwareKeyDemoState createState() => _HardwareKeyDemoState();
State<RawKeyboardDemo> createState() => _HardwareKeyDemoState();
}
class _HardwareKeyDemoState extends State<RawKeyboardDemo> {

View File

@@ -29,7 +29,7 @@ class Home extends StatefulWidget {
const Home({ Key key }) : super(key: key);
@override
_HomeState createState() => _HomeState();
State<Home> createState() => _HomeState();
}
class _HomeState extends State<Home> {
@@ -124,7 +124,7 @@ class Fuzzer extends StatefulWidget {
final int seed;
@override
_FuzzerState createState() => _FuzzerState();
State<Fuzzer> createState() => _FuzzerState();
}
class _FuzzerState extends State<Fuzzer> with SingleTickerProviderStateMixin {
@@ -539,7 +539,7 @@ class Underlines extends StatefulWidget {
const Underlines({ Key key }) : super(key: key);
@override
_UnderlinesState createState() => _UnderlinesState();
State<Underlines> createState() => _UnderlinesState();
}
class _UnderlinesState extends State<Underlines> {
@@ -644,7 +644,7 @@ class Fallback extends StatefulWidget {
const Fallback({ Key key }) : super(key: key);
@override
_FallbackState createState() => _FallbackState();
State<Fallback> createState() => _FallbackState();
}
class _FallbackState extends State<Fallback> {
@@ -739,7 +739,7 @@ class Bidi extends StatefulWidget {
const Bidi({ Key key }) : super(key: key);
@override
_BidiState createState() => _BidiState();
State<Bidi> createState() => _BidiState();
}
class _BidiState extends State<Bidi> {
@@ -816,7 +816,7 @@ class Zalgo extends StatefulWidget {
final int seed;
@override
_ZalgoState createState() => _ZalgoState();
State<Zalgo> createState() => _ZalgoState();
}
class _ZalgoState extends State<Zalgo> with SingleTickerProviderStateMixin {
@@ -923,7 +923,7 @@ class Painting extends StatefulWidget {
final int seed;
@override
_PaintingState createState() => _PaintingState();
State<Painting> createState() => _PaintingState();
}
class _PaintingState extends State<Painting> with SingleTickerProviderStateMixin {