replace some ._() constructors with class modifiers (#122765)
This commit is contained in:
committed by
GitHub
parent
7b7af9f34c
commit
31798757e7
@@ -116,9 +116,7 @@ class BenchMouseRegionGridHover extends WidgetRecorder {
|
||||
}
|
||||
}
|
||||
|
||||
class _UntilNextFrame {
|
||||
_UntilNextFrame._();
|
||||
|
||||
abstract final class _UntilNextFrame {
|
||||
static Completer<void>? _completer;
|
||||
|
||||
static Future<void> wait() {
|
||||
|
||||
@@ -88,9 +88,7 @@ class BenchMouseRegionGridScroll extends WidgetRecorder {
|
||||
}
|
||||
}
|
||||
|
||||
class _UntilNextFrame {
|
||||
_UntilNextFrame._();
|
||||
|
||||
abstract final class _UntilNextFrame {
|
||||
static Completer<void>? _completer;
|
||||
|
||||
static Future<void> wait() {
|
||||
|
||||
@@ -4,11 +4,7 @@
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class GalleryIcons {
|
||||
// This class is not meant to be instantiated or extended; this constructor
|
||||
// prevents instantiation and extension.
|
||||
GalleryIcons._();
|
||||
|
||||
abstract final class GalleryIcons {
|
||||
static const IconData tooltip = IconData(0xe900, fontFamily: 'GalleryIcons');
|
||||
static const IconData text_fields_alt = IconData(0xe901, fontFamily: 'GalleryIcons');
|
||||
static const IconData tabs = IconData(0xe902, fontFamily: 'GalleryIcons');
|
||||
|
||||
Reference in New Issue
Block a user