PeekStrings class
Every word Peek shows, in one place.
English by default. Subclass to translate, then hand the subclass to
PeekScreen(strings: ...):
final class PeekStringsFr extends PeekStrings {
const PeekStringsFr();
@override
String get search => 'Rechercher';
}
- Annotations
Constructors
- PeekStrings()
-
Creates the default, English strings.
const
Properties
- all → String
-
Quick filter showing everything.
no setter
- any → String
-
The option of a range that matches anything.
no setter
- back → String
-
Names the button that goes back a screen.
no setter
- body → String
-
Heading for a body.
no setter
- cancel → String
-
Dismisses a dialog.
no setter
- clear → String
-
Tooltip of the button that empties the list.
no setter
- clearMessage → String
-
Body of that dialog.
no setter
- clearTitle → String
-
Title of the dialog that asks before emptying the list.
no setter
- close → String
-
Names the button that closes a screen shown over the app.
no setter
- collapseAll → String
-
Collapses every node of a tree.
no setter
- confirm → String
-
Confirms a dialog.
no setter
- connectAgain → String
-
Connects to the desktop the link knows, after a disconnect.
no setter
- connectToDesktop → String
-
Opens the way to a desktop viewer; also the title of what opens.
no setter
- console → String
-
Title of the list screen.
no setter
- contentType → String
-
Heading for the content-type filter.
no setter
-
Heading for cookies.
no setter
- copied → String
-
Confirms that something reached the clipboard.
no setter
- copy → String
-
Copies a value.
no setter
- copyAll → String
-
Copies every row of a table at once.
no setter
- copyBase64 → String
-
Copies bytes as base64 text.
no setter
- copyCurl → String
-
Copies a curl command.
no setter
- copyHar → String
-
Copies an HTTP Archive of one call.
no setter
- copyMarkdown → String
-
Copies a Markdown summary.
no setter
- copyPath → String
-
Copies the path that leads to a node.
no setter
- copyText → String
-
Copies a plain-text summary.
no setter
- copyUrl → String
-
Copies the URL.
no setter
- copyValue → String
-
Copies the value under a node.
no setter
- desktop → String
-
Heads the desktop viewer's part of the list menu.
no setter
- desktopAbout → String
-
Says what a desktop viewer is, for an app that has none set up.
no setter
- desktopAddDependency → String
-
Heads the dependency to add.
no setter
- desktopAddress → String
-
Heads the field for a desktop's address.
no setter
- desktopAddressHint → String
-
Says what to type where the network cannot help.
no setter
- desktopAddressPlaceholder → String
-
Shown in the empty address field.
no setter
- desktopBadAddress → String
-
Says the typed address cannot be read.
no setter
- desktopChooseFirst → String
-
Asks where to connect before the code can go.
no setter
- desktopCode → String
-
Heads the pairing code.
no setter
- desktopCodeHint → String
-
Says where the code comes from.
no setter
- desktopCodeLabel → String
-
Names the pairing code for a screen reader.
no setter
- desktopCodeWrong → String
-
Says the desktop refused the code.
no setter
- desktopDenied → String
-
The menu item after the desktop turned the app away.
no setter
- desktopDisconnected → String
-
The menu item while nothing is being streamed.
no setter
- desktopGuide → String
-
Names the link to the guide.
no setter
- desktopIncompatible → String
-
Marks a desktop that speaks another version of the protocol.
no setter
- desktopLinks → String
-
Heads the links.
no setter
- desktopNotConnected → String
-
The state of the link, beside the menu item, while nothing is being
streamed.
no setter
- desktopOtherVersion → String
-
Says the desktop speaks another version of the protocol.
no setter
- desktopPackage → String
-
Names the link to the remote package.
no setter
- desktopPaired → String
-
Marks a desktop that already knows the app.
no setter
- desktopPairedWith → String
-
Names the desktop the app is paired with.
no setter
- desktopRepository → String
-
Names the link to Peek Pro.
no setter
- desktopSearching → String
-
Stands in the list while nothing has been heard yet.
no setter
-
Says the network cannot be searched from here.
no setter
- desktopSetUp → String
-
Heads the line of code to add.
no setter
- desktopsNearby → String
-
Heads the desktops heard on the local network.
no setter
- desktopStatus → String
-
Heads the status of the link.
no setter
- desktopUnpaired → String
-
The status while no desktop is known.
no setter
- details → String
-
Heading for whatever the adapter attached to a failure.
no setter
- disconnect → String
-
Cuts the connection.
no setter
- dismiss → String
-
Names the area that closes a sheet when tapped.
no setter
- duration → String
-
Label for how long a call took.
no setter
- empty → String
-
Shown when a section has no rows.
no setter
- error → String
-
Heading for the failure.
no setter
- errorsOnly → String
-
Quick filter showing failures and 4xx/5xx.
no setter
- expandAll → String
-
Expands every node of a tree.
no setter
- exportAs → String
-
Heads the formats a call can be written out in.
no setter
- exportHar → String
-
Exports an HTTP Archive.
no setter
- failed → String
-
Shown when a call failed.
no setter
- fields → String
-
Heading for the fields of a form.
no setter
- filename → String
-
Label for the name a file was uploaded under.
no setter
- files → String
-
Heading for the files of a multipart form.
no setter
- filters → String
-
Tooltip of the filter button.
no setter
- finished → String
-
Label for when a call came back.
no setter
- forgetDesktop → String
-
Drops the paired desktop.
no setter
- forgetDesktopHint → String
-
Explains what forgetting does.
no setter
- formatCurl → String
-
A curl command, as a format.
no setter
- formatHar → String
-
An HTTP Archive, as a format.
no setter
- formatMarkdown → String
-
A Markdown summary, as a format.
no setter
- formatText → String
-
A plain-text summary, as a format.
no setter
- formatUrl → String
-
The URL alone, as a format.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- headers → String
-
Heading for headers.
no setter
- host → String
-
Heading for the host filter.
no setter
- largestFirst → String
-
Name of a sort direction.
no setter
- loadBody → String
-
Loads a body held elsewhere.
no setter
- loadBodyFailed → String
-
Title shown when a body could not be loaded.
no setter
- loadingBody → String
-
Shown on the button while a body loads.
no setter
- method → String
-
Label for a method.
no setter
- more → String
-
Names the menu of everything else the list can do.
no setter
- newestFirst → String
-
Name of a sort direction.
no setter
- nextMatch → String
-
Goes to the match after this one.
no setter
- noBodyHint → String
-
What to make of a body there is nothing to show for.
no setter
- noBreakdown → String
-
Says the adapter gave no phase timings.
no setter
- noMatches → String
-
Empty state when a filter hides everything.
no setter
- noMatchesHint → String
-
What to do about that.
no setter
- none → String
-
Shown where a value is missing.
no setter
- noRequests → String
-
Empty state when nothing was recorded yet.
no setter
- noRequestsHint → String
-
What to do about it.
no setter
- noRequestsPausedHint → String
-
What to do about it while recording is paused.
no setter
- noSelection → String
-
Empty detail pane, before a call is picked.
no setter
- noSelectionHint → String
-
What to do about it.
no setter
- notJson → String
-
Says a body would not decode as JSON after all.
no setter
- oldestFirst → String
-
Name of a sort direction.
no setter
- openPeek → String
-
Names the floating button that opens Peek.
no setter
- pause → String
-
Tooltip of the button that stops recording.
no setter
- pausedBanner → String
-
Shown when recording is paused.
no setter
- pending → String
-
Shown while a call is in flight.
no setter
- pendingOnly → String
-
Quick filter showing calls still in flight.
no setter
- phases → String
-
Heading for the phases a call went through.
no setter
- pin → String
-
Tooltip that pins an entry.
no setter
- pinLimitReached → String
-
Shown when the pin limit is reached.
no setter
- pinnedOnly → String
-
Quick filter showing pinned entries.
no setter
- previousMatch → String
-
Goes to the match before this one.
no setter
- queryParameters → String
-
Heading for query parameters.
no setter
- raw → String
-
Shows a body as it arrived.
no setter
- received → String
-
How much came back.
no setter
- redacted → String
-
Says a value was masked before Peek kept it.
no setter
- redirects → String
-
Heading for the redirect chain.
no setter
- remoteBody → String
-
Title of a body held elsewhere, such as on the device.
no setter
- removedEntry → String
-
Shown in place of a call that is no longer recorded.
no setter
- removedEntryHint → String
-
What happened to it.
no setter
- request → String
-
Section heading for the request half.
no setter
- requestActions → String
-
Names the menu of everything else one call can do; apart from more
because a wide layout shows both menus at once.
no setter
- requestBody → String
-
Label for the request body.
no setter
- requestCookies → String
-
Names the cookies a request carried.
no setter
- requestHeaders → String
-
Label for the request headers.
no setter
- resetFilters → String
-
Button that clears every filter.
no setter
- response → String
-
Section heading for the response half.
no setter
- responseBody → String
-
Label for the response body.
no setter
- responseCookies → String
-
Names the cookies a response set.
no setter
- responseHeaders → String
-
Label for the response headers.
no setter
- resume → String
-
Tooltip of the button that resumes recording.
no setter
- retry → String
-
Tries a failed action again.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- saveSession → String
-
Saves everything recorded as a session file.
no setter
- search → String
-
Label of the search field.
no setter
- sent → String
-
How much went out.
no setter
- session → String
-
What a list's sheet is about, and the heading of what it can do with
the whole of it.
no setter
-
Shares the exported content.
no setter
-
Shares a curl command as text.
no setter
-
Shares an HTTP Archive of everything the list shows.
no setter
-
Shares a Markdown summary as text.
no setter
-
Shares a plain-text summary as text.
no setter
-
Shares the URL as text.
no setter
- size → String
-
Label for a size.
no setter
- slowestFirst → String
-
Name of a sort direction.
no setter
- sort → String
-
Tooltip of the sort button.
no setter
- sortByName → String
-
Orders a table by name.
no setter
- sortByOrder → String
-
Restores a table's own order.
no setter
- source → String
-
Label for the adapter that reported a call.
no setter
- stackTrace → String
-
Label for a stack trace.
no setter
- started → String
-
Label for when a call started.
no setter
- state → String
-
Heading for the state filter.
no setter
- status → String
-
Label for a status code.
no setter
- statusClass → String
-
Heading of the status classes in the status picker.
no setter
- statusCode → String
-
Heading of the status codes in the status picker.
no setter
- stopWrapping → String
-
Stops wrapping lines.
no setter
- timing → String
-
Heading for the phase timings.
no setter
- tree → String
-
Shows a JSON body as a tree.
no setter
- treeNeedsWholeBody → String
-
Says why a body that was cut short has no tree.
no setter
- unpin → String
-
Tooltip that unpins an entry.
no setter
- url → String
-
Label for a URL.
no setter
- wrapLines → String
-
Toggles line wrapping.
no setter
Methods
-
activeFilters(
int count) → String - How many filters are active.
-
bytes(
int value) → String - A size in bytes, formatted.
-
clockTime(
DateTime moment) → String - A moment as hours and minutes on a 24-hour clock.
-
connectedToDesktop(
String name) → String -
The menu item while the app is connected to
name. -
connectingToDesktop(
String name) → String -
The menu item while the app is connecting to
name. - How many cookies it carried.
-
dateFilter(
PeekDateRange range) → String - Names a range of moments.
-
desktopDropped(
String name) → String -
Says the connection to
namedropped. -
desktopNotFound(
String name) → String -
Says the address of
nameleads nowhere. -
desktopRefused(
String name) → String -
Says
nameanswered, but nothing listens there. -
desktopTimedOut(
String name) → String -
Says nothing at
nameanswered in time. -
desktopUnreachable(
String name) → String -
Says
namedoes not answer. -
durationFilter(
PeekDurationRange range) → String - Names a range of durations.
-
elapsed(
Duration value) → String - A duration, formatted.
-
entrySemantics(
PeekEntry entry) → String - The semantic label read out for an entry in the list.
-
entryState(
PeekEntryState state) → String - Names a lifecycle state.
-
failureKind(
PeekFailureKind kind) → String - Names a failure.
-
firstBytes(
int count) → String - Says how much of a body is shown as hex.
-
headerCount(
int count) → String - How many headers a direction carried.
-
items(
int count) → String - How many values an object or an array holds.
-
listTitle(
int shown, int total) → String - Names what a list holds at the head of its sheet.
-
matchCount(
int current, int total) → String - Where the search is in what it found.
-
metrics(
Duration? duration, int? size) → String - Size and duration as one line; empty when neither is known.
-
moreCharacters(
int count) → String - Says how many characters are hidden.
-
moreLines(
int count) → String - Says how many lines are not shown.
-
moreValues(
String first, int others) → String - One chosen value and how many more there are.
-
newRequests(
int count) → String - Announces newly arrived entries above the scroll position.
-
noMatchesOf(
int total) → String - What a filter hid, counted: everything there is.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
outcome(
PeekEntry entry) → String - How a call ended, in a few words: the code with the reason the server gave, what stopped it, or that it is still running.
-
phase(
String name) → String - Names a phase of a call, given its HAR name.
-
pixels(
int width, int height) → String - The size of an image in pixels.
-
recent(
Duration window) → String - Names a window reaching back from now.
-
redirectCount(
int count) → String - How many redirects a call followed.
-
removeFilter(
String label) → String - Names the chip that drops one filter.
-
requestCount(
int shown, int total) → String - The count shown next to the title.
-
searchScope(
PeekSearchScope scope) → String - Names a search scope.
-
showRequests(
int count) → String - The button that closes the filters, saying what is left.
-
sortOption(
PeekSortField field, {required bool descending}) → String - Names a sort field and direction as a menu item.
-
statusClassName(
PeekStatusClass statusClass) → String - Names a status class as a filter option.
-
timestamp(
DateTime moment) → String - When a call started, to the millisecond.
-
toString(
) → String -
A string representation of this object.
inherited
-
truncatedBody(
int shown, int total) → String - Says a body was cut short.
- Describes a body Peek could not capture.
-
waitingForDesktop(
String name) → String -
The menu item while the app waits to reach
nameagain.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited