mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
17 lines
506 B
Dart
17 lines
506 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 TextFieldTemplate extends TokenTemplate {
|
|
const TextFieldTemplate(super.blockName, super.fileName, super.tokens);
|
|
|
|
@override
|
|
String generate() => '''
|
|
// Generated version ${tokens["version"]}
|
|
|
|
TextStyle _m3InputStyle(BuildContext context) => ${textStyle("md.comp.filled-text-field.label-text")}!;
|
|
''';
|
|
}
|