DevSetupStrings class
Every piece of text the screen shows, overridable for localisation.
Constructors
- DevSetupStrings({String title = 'Developer Setup', String baseUrl = 'Base URL', String apiSuffix = 'API suffix', String baseUrlHint = 'api.example.com', String suffixHint = '/api/v1/', String localIp = 'Local IP', String useDefault = 'Default', String cancel = 'Cancel', String proceed = 'Proceed', String reset = 'Reset', String ok = 'OK', String save = 'Save', String forget = 'Forget', String headlineIdle = 'Not checked yet', String headlineChecking = 'Checking connection', String headlineOnline = 'Connected', String headlineOffline = 'No response', String captionIdle = 'Enter a base URL to begin', String captionChecking = 'Checking the health endpoint', String captionOnline = 'This server answered the health check', String captionOffline = 'Nothing answered at this address', String copied(String url) = _copied, String copyUrl = 'Copy URL', String serversTitle = 'Servers on this network', String scanAgain = 'Scan again', String addAddress = 'Add an address', String lookingForServer = 'Looking for the dev server…', String scanning(String label, int probed, int total) = _scanning, String foundServers(int count, String label) = _foundServers, String nothingFound(String url) = _nothingFound, String noNetwork = 'Not connected to a local network.', String scanCancelled = 'Scan cancelled', String scanFailed = 'Scan failed', String emptyTitle = 'No dev server answered', String emptyBody = 'Check the server is running, or type the address above.', String scanHint = 'Tap Local IP to scan this network for a running dev server.', String saved = 'saved', String latency(int ms) = _latency, String pin = 'Keep at the top', String unpin = 'Unpin', String nameServer = 'Name this server', String nameHint = 'e.g. my laptop', String nameHelp = 'Shown instead of the address, on this device only. ' 'Leave it empty to clear the name.', String addServerTitle = 'Add a server', String addServerBody = 'For a server the scan cannot reach — a VPN or tunnel address.', String addServerHint = 'http://my-machine:8080', String addServerHelp = 'Kept in the list until you forget it.', String addServerInvalid = 'Needs a scheme and a host, e.g. http://host:8080', String invalidUrlTitle = 'Invalid URL', String invalidUrlBody = 'Enter a valid URL before proceeding.'})
-
const
Properties
- addAddress → String
-
final
- addServerBody → String
-
final
- addServerHelp → String
-
final
- addServerHint → String
-
final
- addServerInvalid → String
-
final
- addServerTitle → String
-
final
- apiSuffix → String
-
final
- baseUrl → String
-
final
- baseUrlHint → String
-
final
- cancel → String
-
final
- captionChecking → String
-
final
- captionIdle → String
-
final
- captionOffline → String
-
final
- captionOnline → String
-
final
- copied → String Function(String url)
-
final
- copyUrl → String
-
final
- emptyBody → String
-
final
- emptyTitle → String
-
final
- forget → String
-
final
- foundServers → String Function(int count, String label)
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headlineChecking → String
-
final
- headlineIdle → String
-
final
- headlineOffline → String
-
final
- headlineOnline → String
-
final
- invalidUrlBody → String
-
final
- invalidUrlTitle → String
-
final
- latency → String Function(int ms)
-
final
- localIp → String
-
final
- lookingForServer → String
-
final
- nameHelp → String
-
final
- nameHint → String
-
final
- nameServer → String
-
final
- noNetwork → String
-
final
- nothingFound → String Function(String url)
-
final
- ok → String
-
final
- pin → String
-
final
- proceed → String
-
final
- reset → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- save → String
-
final
- saved → String
-
final
- scanAgain → String
-
final
- scanCancelled → String
-
final
- scanFailed → String
-
final
- scanHint → String
-
final
- scanning → String Function(String label, int probed, int total)
-
final
- serversTitle → String
-
final
- suffixHint → String
-
final
- title → String
-
final
- unpin → String
-
final
- useDefault → String
-
final
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