ScreenshotConfig class
Configuration class for the screenshot package
Constructors
- ScreenshotConfig.new()
-
factory
Properties
- fileNamePrefix → String
-
Prefix for screenshot filenames
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageQuality → int
-
The image quality for JPEG compression (0-100)
no setter
- isTelegramConfigValid → bool
-
Check if Telegram configuration is valid
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- savePath → String?
-
Path for saving screenshots locally
no setter
-
screenSizes
→ List<
Map< String, dynamic> > -
List of screen sizes to generate
no setter
-
Share mode for screenshots
no setter
- shouldShowButtons → bool
-
Should the buttons be visible in the current build mode
no setter
- showButtonsInDebugOnly → bool
-
Show capture buttons only in debug mode
no setter
- telegramChatId → String
-
The Telegram chat ID
no setter
- telegramToken → String
-
The Telegram bot token
no setter
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
-
configure(
{String? telegramToken, String? telegramChatId, int? imageQuality, String? savePath, List< Map< ? screenSizes, String? fileNamePrefix, bool? showButtonsInDebugOnly}) → voidString, dynamic> > - Configure the screenshot package with custom settings
-
resetToDefaults(
) → void - Reset the configuration to default values