replace some ._() constructors with class modifiers (#122765)

This commit is contained in:
Michael Goderbauer
2023-03-23 12:29:18 -07:00
committed by GitHub
parent 7b7af9f34c
commit 31798757e7
37 changed files with 45 additions and 204 deletions

View File

@@ -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');