name constant

String const name

Name

Current app name

Every package needs a name. It’s how other packages refer to yours, and how it appears to the world, should you publish it.

The name should be all lowercase, with underscores to separate words, just_like_this. Use only basic Latin letters and Arabic digits: a-z0-9_. Also, make sure the name is a valid Dart identifier—that it doesn’t start with digits and isn’t a reserved word.

Try to pick a name that is clear, terse, and not already in use. A quick search of packages on the pub.flutter-io.cn site to make sure that nothing else is using your name is recommended.

Implementation

static const String name = r'dpk';