Naming class

Name-casing helpers shared by every generator so that file names, class names, and route constants are derived consistently from a single input.

Input may be snake_case, camelCase, PascalCase, kebab-case, or space separated — all are normalized to a list of lowercase words first.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

camel(String input) String
my_cool_page -> myCoolPage (variables, route names, providers).
pascal(String input) String
my_cool_page -> MyCoolPage (class names, types).
snake(String input) String
my_cool_page -> my_cool_page (the canonical file/folder form).
title(String input) String
my_cool_page -> My Cool Page (titles, prompts, AppBar labels).