aves_mio1/.flutter/dev/tools/gen_defaults/lib/divider_template.dart
FabioMich66 19a982ede6
Some checks are pending
Quality check / Flutter analysis (push) Waiting to run
Quality check / CodeQL analysis (java-kotlin) (push) Waiting to run
first commit
2026-03-05 15:51:30 +01:00

26 lines
687 B
Dart

// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'template.dart';
class DividerTemplate extends TokenTemplate {
const DividerTemplate(super.blockName, super.fileName, super.tokens);
@override
String generate() =>
'''
class _${blockName}DefaultsM3 extends DividerThemeData {
const _${blockName}DefaultsM3(this.context) : super(
space: 16,
thickness: ${getToken("md.comp.divider.thickness")},
indent: 0,
endIndent: 0,
);
final BuildContext context;
@override Color? get color => ${componentColor("md.comp.divider")};
}
''';
}