1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00

[compass_app] Mark classes used for namespacing as abstract final (#2540)

As they are just used for namespacing static properties, these classes
shouldn't be extended, implemented, or instantiated.
This commit is contained in:
Parker Lougheed
2024-12-05 21:39:19 +08:00
committed by GitHub
parent 754ddf0375
commit 90cd385ef4
6 changed files with 6 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
class Routes {
abstract final class Routes {
static const home = '/';
static const login = '/login';
static const search = '/$searchRelative';