From 589bcb015eb29e5b70c8dd14e35eb3e0fe0fa0f9 Mon Sep 17 00:00:00 2001 From: Tom Arra Date: Fri, 20 Dec 2024 09:13:16 -0600 Subject: [PATCH] fixing html warning --- lib/src/cli/flutter_cli.dart | 2 +- lib/src/commands/create/commands/create_subcommand.dart | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/src/cli/flutter_cli.dart b/lib/src/cli/flutter_cli.dart index 9b136ae2..f9f1a402 100644 --- a/lib/src/cli/flutter_cli.dart +++ b/lib/src/cli/flutter_cli.dart @@ -112,7 +112,7 @@ typedef FlutterTestRunner = Stream Function({ bool runInShell, }); -/// A method which returns a [Future] given a [MasonBundle]. +/// A method which returns a [`Future`] given a [MasonBundle]. typedef GeneratorBuilder = Future Function(MasonBundle); /// Flutter CLI diff --git a/lib/src/commands/create/commands/create_subcommand.dart b/lib/src/commands/create/commands/create_subcommand.dart index 42137308..4f7e6182 100644 --- a/lib/src/commands/create/commands/create_subcommand.dart +++ b/lib/src/commands/create/commands/create_subcommand.dart @@ -18,10 +18,10 @@ final RegExp _orgNameRegExp = RegExp(r'^[a-zA-Z][\w-]*(\.[a-zA-Z][\w-]*)+$'); const _defaultOrgName = 'com.example.verygoodcore'; const _defaultDescription = 'A Very Good Project created by Very Good CLI.'; -/// A method which returns a [Future] given a [MasonBundle]. +/// A method which returns a [`Future`] given a [MasonBundle]. typedef MasonGeneratorFromBundle = Future Function(MasonBundle); -/// A method which returns a [Future] given a [Brick]. +/// A method which returns a [`Future`] given a [Brick]. typedef MasonGeneratorFromBrick = Future Function(Brick); /// {@template create_subcommand}