menu
flutter_lib_template
flutter_lib_template.dart
Greeting
Greeting.new const constructor
Greeting.new
dark_mode
light_mode
Greeting
constructor
const
Greeting
(
String
name
, {
Key
?
key
,
String
greeting
=
"Hello"
,
})
Creates a greeting for
name
.
Implementation
const Greeting(this.name, {super.key, this.greeting = "Hello"});
flutter_lib_template
flutter_lib_template
Greeting
Greeting.new const constructor
Greeting class