Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9672221

Browse filesBrowse files
committed
style: apply modern constructor syntax
1 parent 07ffe3b commit 9672221
Copy full SHA for 9672221

File tree

2 files changed

+3
-3
lines changed
Filter options

2 files changed

+3
-3
lines changed

‎geocoding_darwin/example/lib/main.dart

Copy file name to clipboardExpand all lines: geocoding_darwin/example/lib/main.dart
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class BaseflowPluginExample extends StatelessWidget {
1313
createMaterialColor(const Color.fromRGBO(48, 49, 60, 1));
1414

1515
/// Constructs the [BaseflowPluginExample] class
16-
BaseflowPluginExample({Key? key}) : super(key: key);
16+
BaseflowPluginExample({super.key});
1717

1818
@override
1919
Widget build(BuildContext context) {
@@ -89,7 +89,7 @@ class BaseflowPluginExample extends StatelessWidget {
8989
/// A Flutter example demonstrating how the [pluginName] plugin could be used
9090
class AppHome extends StatefulWidget {
9191
/// Constructs the [AppHome] class
92-
const AppHome({Key? key, required this.title}) : super(key: key);
92+
const AppHome({super.key, required this.title});
9393

9494
/// The [title] of the application, which is shown in the application's
9595
/// title bar.

‎geocoding_darwin/example/lib/template/info_page.dart

Copy file name to clipboardExpand all lines: geocoding_darwin/example/lib/template/info_page.dart
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import 'globals.dart';
66
/// [StatelessWidget] displaying information about Baseflow
77
class InfoPage extends StatelessWidget {
88
/// Constructs the [InfoPage] class
9-
const InfoPage({Key? key}) : super(key: key);
9+
const InfoPage({super.key});
1010

1111
@override
1212
Widget build(BuildContext context) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.