empathetech_flutter_ui library

Classes

BaseTextStyleProvider
BodyTextStyleProvider
ColorSettings
DisplayTextStyleProvider
EFUILang
Callers can lookup localized strings with an instance of EFUILang returned by EFUILang.of(context).
EmpathetechEnFeedbackLocalizations
EmpathetechEsFeedbackLocalizations
EmpathetechFeedbackLocalizationsDelegate
EmpathetechFrFeedbackLocalizations
EzAlertDialog
EzAppProvider
EzBackAction
Mimics the leading back button in an app bar But is designed for the actions widget Useful for EzConfig's isLeftyKey
EzBoldSetting
EzColorSetting
EzConfig
Singleton class for managing user customization
EzConfigRandomizer
EzCountdownTimer
EzDivider
EzDominantHandSwitch
EzElevatedButton
EzElevatedIconButton
EzFeedbackMenuButton
EzFontDoubleBatchSetting
EzFontDoubleSetting
EzFontFamilyBatchSetting
EzFontFamilySetting
EzHighContrastColorsSetting
EzImage
EzImageSetting
EzInsets
EzItalicSetting
EzLayoutSetting
EzLinkImageProvider
EzLinkWidget
EzLocaleSetting
EzMargin
EzMenuButton
EzMonoChromeColorsSetting
EzPlainText
EzResetButton
EzRichText
EzRow
EzRowCol
EzScreen
EzScrollView
EzSeparator
EzSpacer
EzSwapMargin
EzSwapScaffold
EzSwapSeparator
EzSwapSpacer
EzSwapWidget
EzTextBackground
EzTextButton
EzTextIconButton
EzThemeModeSwitch
EzTransitions
Disables transitions when kIsWeb Source => https://medium.com/flutter/improving-perceived-performance-with-image-placeholders-precaching-and-disabled-navigation-6b3601087a2b
EzTranslationsPendingNotice
EzUnderlineSetting
EzWarning
HeadlineTextStyleProvider
ImageSettings
LabelTextStyleProvider
LayoutSettings
ScreenSpace
SettingsHome
TextSettings
TitleTextStyleProvider

Enums

LayoutSettingType
Enumerator for selecting which piece of the layout is being updated This will determine the preview Widgets
RBType
TextSettingType
Enumerator for selecting which TextStyle is being updated

Extensions

SettingIcon on LayoutSettingType
Enumerator extension for getting the proper button Icon for EzLayoutSetting.type

Constants

alexBrush → const String
'AlexBrush'
allKeys → const Map<String, Type>
atkinsonHyperlegible → const String
'AtkinsonHyperlegible'
blackHex → const int
0xFF000000
bodyBoldedKey → const String
bodyFontFamilyKey → const String
bodyFontHeightKey → const String
bodyFontSizeKey → const String
bodyItalicizedKey → const String
bodyLetterSpacingKey → const String
bodyUnderlinedKey → const String
bodyWordSpacingKey → const String
bold → const String
boxFitSuffix → const String
'Fit'
colorKeys → const Map<String, Type>
light, dark X all 26 material color scheme keys
contain → const String
'contain'
containerOpacity → const double
0.25
cover → const String
'cover'
csError → const String
csErrorContainer → const String
csInversePrimary → const String
csInverseSurface → const String
csOnError → const String
csOnErrorContainer → const String
csOnInverseSurface → const String
csOnPrimary → const String
csOnPrimaryContainer → const String
csOnPrimaryFixed → const String
csOnPrimaryFixedVariant → const String
csOnSecondary → const String
csOnSecondaryContainer → const String
csOnSecondaryFixed → const String
csOnSecondaryFixedVariant → const String
csOnSurface → const String
csOnSurfaceVariant → const String
csOnTertiary → const String
csOnTertiaryContainer → const String
csOnTertiaryFixed → const String
csOnTertiaryFixedVariant → const String
csOutline → const String
csOutlineVariant → const String
csPrimary → const String
csPrimaryContainer → const String
csPrimaryFixed → const String
csPrimaryFixedDim → const String
csScrim → const String
csSecondary → const String
csSecondaryContainer → const String
csSecondaryFixed → const String
csSecondaryFixedDim → const String
csShadow → const String
csSurface → const String
csSurfaceBright → const String
csSurfaceContainer → const String
csSurfaceContainerHigh → const String
csSurfaceContainerHighest → const String
csSurfaceContainerLow → const String
csSurfaceContainerLowest → const String
csSurfaceDim → const String
csSurfaceTint → const String
csTertiary → const String
csTertiaryContainer → const String
csTertiaryFixed → const String
csTertiaryFixedDim → const String
darkBackgroundImageKey → const String
darkColors → const List<String>
Ordered List for populating color setting screen(s)
darkColorSchemeImageKey → const String
darkErrorContainerKey → const String
darkErrorKey → const String
darkInversePrimaryKey → const String
darkInverseSurfaceKey → const String
darkOnErrorContainerKey → const String
darkOnErrorKey → const String
darkOnInverseSurfaceKey → const String
darkOnPrimaryContainerKey → const String
darkOnPrimaryFixedKey → const String
darkOnPrimaryFixedVariantKey → const String
darkOnPrimaryKey → const String
darkOnSecondaryContainerKey → const String
darkOnSecondaryFixedKey → const String
darkOnSecondaryFixedVariantKey → const String
darkOnSecondaryKey → const String
darkOnSurfaceKey → const String
darkOnSurfaceVariantKey → const String
darkOnTertiaryContainerKey → const String
darkOnTertiaryFixedKey → const String
darkOnTertiaryFixedVariantKey → const String
darkOnTertiaryKey → const String
darkOutlineKey → const String
darkOutlineVariantKey → const String
darkPrimaryContainerKey → const String
darkPrimaryFixedDimKey → const String
darkPrimaryFixedKey → const String
darkPrimaryKey → const String
darkScrimKey → const String
darkSecondaryContainerKey → const String
darkSecondaryFixedDimKey → const String
darkSecondaryFixedKey → const String
darkSecondaryKey → const String
darkShadowKey → const String
darkSurfaceBrightKey → const String
darkSurfaceContainerHighestKey → const String
darkSurfaceContainerHighKey → const String
darkSurfaceContainerKey → const String
darkSurfaceContainerLowestKey → const String
darkSurfaceContainerLowKey → const String
darkSurfaceDimKey → const String
darkSurfaceKey → const String
darkSurfaceTintKey → const String
darkTertiaryContainerKey → const String
darkTertiaryFixedDimKey → const String
darkTertiaryFixedKey → const String
darkTertiaryKey → const String
darkTextBackgroundOpacityKey → const String
defaultBodySize → const double
16.0
defaultDisplaySize → const double
42.0
defaultFontHeight → const double
1.5
defaultHeadlineSize → const double
32.0
defaultLabelSize → const double
14.0
defaultLetterSpacing → const double
0.25
defaultMargin → const double
10.0
defaultPadding → const double
20.0
defaultSpacing → const double
25.0
defaultTitleSize → const double
22.0
defaultWordSpacing → const double
1.0
displayBoldedKey → const String
displayFontFamilyKey → const String
displayFontHeightKey → const String
displayFontSizeKey → const String
displayItalicizedKey → const String
displayLetterSpacingKey → const String
displayUnderlinedKey → const String
displayWordSpacingKey → const String
efuiGitHub → const String
EFUI source https://github.com/Empathetech-LLC/empathetech_flutter_ui
efuiL → const String
Long == Empathetech Flutter UI
efuiLFix → const String
Empathetic Flutter UI
efuiS → const String
Short == EFUI
empathCashApp → const String
If you want to show some love https://cash.app/\$empathetech
empathCoffee → const String
If you want to show some love https://www.buymeacoffee.com/empathetech
empathCommunity → const String
If you want to lend a hand community@empathetech.net
empathetechConfig → const Map<String, Object>
Empathetech's default configuration for EzConfig
empathEucalyptus → const Color
0xFF20DAA5
empathEucalyptusDim → const Color
0x4020DAA5
empathEucalyptusDimHex → const int
0x4020DAA5
empathEucalyptusHex → const int
0xFF20DAA5
empathFoldingTeam → const String
One of us, one of us, one of us! https://stats.foldingathome.org/team/1063265
empathFounder → const String
If you want to say hi mwaldron@empathetech.net
empathGitHub → const String
Where the magic happens https://github.com/Empathetech-LLC
empathGoFundMe → const String
If you want to show some love https://gofund.me/c047d07e
empathKofi → const String
If you want to show some love https://ko-fi.com/empathetech
empathLinkedIn → const String
If you want to get in touch https://linkedin.com/company/empathetech-llc
empathMastodon → const String
If you want to get in touch https://mastodon.social/@empathetech
empathNewsletter → const String
If you want to stay informed http://eepurl.com/iHe_I2
empathOffBlack → const Color
0xFF191919
empathOffWhite → const Color
0xFFF5F5F5
empathPatreon → const String
If you want to show some love https://patreon.com/empathetech
empathPayPal → const String
If you want to show some love https://www.paypal.com/donate/?hosted_button_id=NGEL6AB5A6KNL
empathPurple → const Color
0xFFA520DA
empathPurpleDim → const Color
0x40A520DA
empathPurpleDimHex → const int
0x40A520DA
empathPurpleHex → const int
0xFFA520DA
empathSand → const Color
0xFFDAA520
empathSandDimHex → const int
0x40DAA520
empathSandHex → const int
0xFFDAA520
empathSandSim → const Color
0x40DAA520
empathSupport → const String
If you need a hand support@empathetech.net
empathVenmo → const String
If you want to show some love https://venmo.com/empathetech
english → const Locale
'en'
ezHighContrastDark → const ColorScheme
Custom ColorScheme.highContrastDark
ezHighContrastLight → const ColorScheme
Custom ColorScheme.highContrastLight
ezPillShape → const BorderRadius
BorderRadius.all(Radius.circular => 64.0)
ezRoundEdge → const BorderRadius
BorderRadius.all(Radius.circular => 4.0)
fill → const String
'fill'
fingerPaint → const String
'FingerPaint'
fitHeight → const String
'fitHeight'
fitWidth → const String
'fitWidth'
fontSizeMaxes → const Map<String, double>
fontSizeMins → const Map<String, double>
french → const Locale
'fr'
globalKeys → const Map<String, Type>
isLeftyKey, isDarkThemeKey, localeKey
googleStyleNames → const Map<String, String>
Human readable names for the GoogleFonts currently supported
headlineBoldedKey → const String
headlineFontFamilyKey → const String
headlineFontHeightKey → const String
headlineFontSizeKey → const String
headlineItalicizedKey → const String
headlineLetterSpacingKey → const String
headlineUnderlinedKey → const String
headlineWordSpacingKey → const String
hideScrollKey → const String
highlightOpacity → const double
0.08
homePath → const String
'/'
imageKeys → const Map<String, Type>
light, dark X colorSchemeImageKey, pageImageKey
isDarkThemeKey → const String
isLeftyKey → const String
italic → const String
labelBoldedKey → const String
labelFontFamilyKey → const String
labelFontHeightKey → const String
labelFontSizeKey → const String
labelItalicizedKey → const String
labelLetterSpacingKey → const String
labelUnderlinedKey → const String
labelWordSpacingKey → const String
largeBreakpoint → const double
1000 https://pub.dev/packages/flutter_adaptive_scaffold
layoutKeys → const Map<String, Type>
marginKey, paddingKey, spacingKey, hideScrollKey
lexend → const String
'Lexend'
lightBackgroundImageKey → const String
lightColors → const List<String>
Ordered List for populating color setting screen(s)
lightColorSchemeImageKey → const String
lightErrorContainerKey → const String
lightErrorKey → const String
lightInversePrimaryKey → const String
lightInverseSurfaceKey → const String
lightOnErrorContainerKey → const String
lightOnErrorKey → const String
lightOnInverseSurfaceKey → const String
lightOnPrimaryContainerKey → const String
lightOnPrimaryFixedKey → const String
lightOnPrimaryFixedVariantKey → const String
lightOnPrimaryKey → const String
lightOnSecondaryContainerKey → const String
lightOnSecondaryFixedKey → const String
lightOnSecondaryFixedVariantKey → const String
lightOnSecondaryKey → const String
lightOnSurfaceKey → const String
lightOnSurfaceVariantKey → const String
lightOnTertiaryContainerKey → const String
lightOnTertiaryFixedKey → const String
lightOnTertiaryFixedVariantKey → const String
lightOnTertiaryKey → const String
lightOutlineKey → const String
lightOutlineVariantKey → const String
lightPrimaryContainerKey → const String
lightPrimaryFixedDimKey → const String
lightPrimaryFixedKey → const String
lightPrimaryKey → const String
lightScrimKey → const String
lightSecondaryContainerKey → const String
lightSecondaryFixedDimKey → const String
lightSecondaryFixedKey → const String
lightSecondaryKey → const String
lightShadowKey → const String
lightSurfaceBrightKey → const String
lightSurfaceContainerHighestKey → const String
lightSurfaceContainerHighKey → const String
lightSurfaceContainerKey → const String
lightSurfaceContainerLowestKey → const String
lightSurfaceContainerLowKey → const String
lightSurfaceDimKey → const String
lightSurfaceKey → const String
lightSurfaceTintKey → const String
lightTertiaryContainerKey → const String
lightTertiaryFixedDimKey → const String
lightTertiaryFixedKey → const String
lightTertiaryKey → const String
lightTextBackgroundOpacityKey → const String
localeKey → const String
marginKey → const String
materialColorRoles → const String
https://m3.material.io/styles/color/roles
maxBody → const double
32.0
maxDisplay → const double
84.0
maxFontHeight → const double
2.0
maxFontLetterSpacing → const double
1.0
maxFontWordSpacing → const double
3.0
maxHeadline → const double
64.0
maxLabel → const double
28.0
maxMargin → const double
20.0
maxOpacity → const double
1.0
maxPadding → const double
40.0
maxSpacing → const double
50.0
maxTitle → const double
42.0
minBody → const double
8.0
minDisplay → const double
21.0
minFontHeight → const double
1.0
minFontLetterSpacing → const double
-1.0
minFontWordSpacing → const double
-3.0
minHeadline → const double
16.0
minLabel → const double
7.0
minMargin → const double
5.0
minOpacity → const double
0.0
minPadding → const double
10.0
minSpacing → const double
10.0
minTitle → const double
11.0
noImageValue → const String
Allows for app images whose default is an asset to be "null"
none → const String
'none'
noto → const String
'NotoSans'
offBlackHex → const int
0xFF191919
offWhiteHex → const int
0xFFF5F5F5
openSans → const String
'OpenSans'
paddingKey → const String
pressStart2P → const String
'PressStart2P'
readexPro → const String
'ReadexPro'
rMax → const int
255
roboto → const String
'Roboto'
sampleString → const String
'-5.5'
scaleDown → const String
'scaleDown'
selectionOpacity → const double
0.40
smallBreakpoint → const double
700 https://pub.dev/packages/flutter_adaptive_scaffold
sourceCodePro → const String
'SourceCodePro'
spacingKey → const String
spanish → const Locale
'es'
success → const String
'SUCCESS'
textColorPrefix → const String
textFieldRadius → const BorderRadius
BorderRadius.only(top left && top right: Radius.circular => 4.0)
textStyleKeys → const Map<String, Type>
display, headline, title, body, label X FontFamily, FontSize, FontWeight, FontStyle, LetterSpacing, WordSpacing, FontHeight, FontDecoration
titleBoldedKey → const String
titleFontFamilyKey → const String
titleFontHeightKey → const String
titleFontSizeKey → const String
titleItalicizedKey → const String
titleLetterSpacingKey → const String
titleUnderlinedKey → const String
titleWordSpacingKey → const String
transparentHex → const int
0xFF000000
underlined → const String
userColorsKey → const String
webImgHint → const String
example.com/image.jpg
whiteHex → const int
0xFFFFFFFF

Properties

googleStyles Map<String, TextStyle>
All the GoogleFonts currently supported
final

Functions

boxFitFromName(String? name) BoxFit?
Given a BoxFit.name, return the associated BoxFit
buildBody(Color? color) TextStyle
Builds TextTheme.bodyLarge w/ values from EzConfig
buildBodyFromDefaults(Color? color) TextStyle
Builds TextTheme.bodyLarge w/ values from EzConfig.defaults
buildDisplay(Color? color) TextStyle
Builds TextTheme.displayLarge w/ values from EzConfig
buildDisplayFromDefaults(Color? color) TextStyle
Builds TextTheme.displayLarge w/ values from EzConfig.defaults
buildHeadline(Color? color) TextStyle
Builds TextTheme.headlineLarge w/ values from EzConfig
buildHeadlineFromDefaults(Color? color) TextStyle
Builds TextTheme.headlineLarge w/ values from EzConfig.defaults
buildLabel(Color? color) TextStyle
Builds TextTheme.labelLarge w/ values from EzConfig
buildLabelFromDefaults(Color? color) TextStyle
Builds TextTheme.labelLarge w/ values from EzConfig.defaults
buildTitle(Color? color) TextStyle
Builds TextTheme.titleLarge w/ values from EzConfig
buildTitleFromDefaults(Color? color) TextStyle
Builds TextTheme.titleLarge w/ values from EzConfig.defaults
chaChaNow(WidgetTester tester, Finder finder, {Offset leftOffset = const Offset(-100, 0), Offset rightOffset = const Offset(100, 0)}) Future<void>
For integration tests Take the finder and Slide to the left, then Slide to the right...
closeKeyboard(BuildContext context) → void
More readable than FocusScope.of(context).unfocus();
dismissTap(WidgetTester tester, {Offset offset = const Offset(1, 1)}) Future<void>
For integration tests WidgetTester.tapAt the offset to dismiss a dialog/modal/etc
doNothing() → void
Do you have a void Function as a parameter that you want to be optional? Then do nothing!
Returns an appropriate width for a DropdownMenu
ezCLI({required String exe, required List<String> args, required String dir, required void onSuccess(), required void onFailure(String message), void onError(String message)?, bool debug = true, ValueNotifier<String>? readout}) Future<void>
ezColorPicker(BuildContext context, {String? title, required Color startColor, required void onColorChange(Color chosenColor), String? confirmMsg, required void onConfirm(), String? denyMsg, required void onDeny()}) Future
Wrap a ColorPicker in an EzAlertDialog
ezColorScheme(Brightness brightness) ColorScheme
Generate a ColorScheme based on values present in EzConfig.prefs
ezCupertinoActions({required BuildContext context, String? confirmMsg, required void onConfirm(), bool confirmIsDefault = false, bool confirmIsDestructive = false, String? denyMsg, required void onDeny(), bool denyIsDefault = false, bool denyIsDestructive = false, bool reverseHands = true, TextStyle? defaultStyle, TextStyle? destructiveStyle}) List<CupertinoDialogAction>
Pairs with EzAlertDialog Quickly creates CupertinoDialogActions All required parameters are identical to ezMaterialActions
ezLog(String message, {int? wrapWidth, ValueNotifier<String>? buffer}) → void
debugPrint rename 100% so I can search for debugPrint in my code to find the temporary ones
ezMaterialActions({required BuildContext context, String? confirmMsg, required void onConfirm(), bool confirmIsDestructive = false, String? denyMsg, required void onDeny(), bool denyIsDestructive = false, bool reverseHands = true, TextStyle? defaultStyle, TextStyle? destructiveStyle}) List<Widget>
Pairs with EzAlertDialog Quickly creates Material 'action' buttons for the dialog All required parameters are identical to ezCupertinoActions
ezSnackBar({Color? backgroundColor, double? elevation, ShapeBorder? shape, SnackBarBehavior? behavior, SnackBarAction? action, double? actionOverflowThreshold, bool? showCloseIcon, Color? closeIconColor, Animation<double>? animation, VoidCallback? onVisible, DismissDirection? dismissDirection, Clip clipBehavior = Clip.hardEdge, required BuildContext context, required String message, double? margin, Duration? duration}) ScaffoldFeatureController<SnackBar, SnackBarClosedReason>
Standardized SnackBar with an EzCountdownTimer Most parameters are available, but SnackBar.padding, SnackBar.width, SnackBar.content, and SnackBar.duration are controlled SnackBar.padding can be influenced by margin, SnackBar.padding is always EdgeInsets.all SnackBar.width, SnackBar.content, and SnackBar.duration all respond to message
ezTextFieldConstraints(BuildContext context) BoxConstraints
threeQs = widthOf context * 0.75 min: threeQs, max: min(threeQs, smallBreakpoint)
ezTextTheme(Color? color) TextTheme
Creates a TextTheme with sizes from... https://m3.material.io/styles/typography/type-scale-tokens Each variant triplet (large, medium, small) are the same size: large
ezThemeData(Brightness brightness) ThemeData
Creates a ThemeData with a ColorScheme generated via ezColorScheme Also has some tweaks to the base Material ThemeData, such as... margin, padding, TextStyles, IconData
firstWord(String text) String
Splits the string on '_' and/or ' ' and returns the first word
fuseWithGFont({required TextStyle starter, required String gFont}) TextStyle
Pass starter to the gFont's GoogleFonts.textStyle param
getBasePlatform(BuildContext context) TargetPlatform
Get the current TargetPlatform Even when kIsWeb
getColorName(String key) String
Get the human readable name of a keys color
getLiveColor(BuildContext context, String key) Color
Resolve the color key to the live ColorScheme value
getLongest(List<String> list) String
Returns the longest String in list
getRandomURL(List<String> imageURLs) String
Provide a List of imageURLs and one will be returned at random
getTextColor(Color background) Color
Returns the guesstimated most readable text color (black/white) for background Formula credit: https://stackoverflow.com/questions/3942878/how-to-decide-font-color-in-white-or-black-depending-on-background-color
goBack(WidgetTester tester, String back, {bool warnIfMissed = false}) Future<void>
For integration tests Find and touch the button whose Tooltip is back
heightOf(BuildContext context) double
More readable than MediaQuery.of(context).size.height
hold(WidgetTester tester, Finder finder, {bool warnIfMissed = false}) Future<void>
For integration tests Find, touch, hold, and settle a target
holdText(WidgetTester tester, String text, {bool warnIfMissed = false}) Future<void>
For integration tests Find, touch, hold, and settle a text target
isDarkTheme(BuildContext context) bool
First checks PlatformTheme then falls back to MediaQuery
isUrl(String text) bool
Returns whether the passed text follows a URL pattern
logAlert(BuildContext context, {String? title, required String message}) Future
Log the passed message and display an EzAlertDialog to notify the user
lookupEFUILang(Locale locale) Future<EFUILang>
lstName(BuildContext context, LayoutSettingType settingType) String
Get the proper String name for LayoutSettingType
measureIcon(IconData icon, {required BuildContext context, required TextStyle? style}) Size
Returns the soon-to-be rendered size of an icon via a TextPainter
measureText(String text, {required BuildContext context, required TextStyle? style}) Size
Returns the soon-to-be rendered size of text via a TextPainter
pause(int seconds) Future<void>
For integration tests Wait for a desired number of seconds
provideImage(String path) ImageProvider<Object>
Provide the path to an Image and we'll handle the rest
readingTime(String passage) Duration
Relaxed reading time for a US tween: 100 words per minute
saveImage({required BuildContext context, required String prefsPath, required ImageSource source}) Future<String?>
Save (and/or overwrite) the Image stored in prefsPath from source
screenshotHint(BuildContext context) String
Button combo(s) for taking a screenshot on the current TargetPlatform Empty for mobile (and unknown/default)
setPageTitle(String title, Color primaryColor) → void
For web apps, set the tab's title
snackWidth({required BuildContext context, required String message, TextStyle? style, double? margin, bool showCloseIcon = true}) double
Calculates ezSnackBar width based on message and context style defaults to SnackBarThemeData.contentTextStyle
storeColorScheme({required ColorScheme colorScheme, required Brightness brightness}) Future<void>
Store the passed ColorScheme in EzConfig.prefs
storeImageColorScheme({required String path, required Brightness brightness}) Future<String>
Generates a ColorScheme based on the image found at path Then stores the values in EzConfig.preferences
subHeadingStyle(TextTheme textTheme) TextStyle?
TextTheme.headlineLarge w/ the TextStyle.fontSize of TextTheme.titleLarge
subTitleStyle(TextTheme textTheme) TextStyle?
TextTheme.bodyLarge w/ the TextStyle.fontSize of TextTheme.titleLarge
testDHSetting(WidgetTester tester, {required EFUILang l10n, required bool isLefty}) Future<void>
For integration testing Test EzDominantHandSwitch
testImageSetting(WidgetTester tester, {required Finder finder, required String type, required bool updateCS, required EFUILang l10n, required List<String> networkImageURLs, required bool isLefty}) Future<void>
For integration testing Tests EzImageSetting
testLocaleSetting(WidgetTester tester, {required EFUILang l10n, required LocaleNames l10nNames, required bool isLefty}) Future<void>
For integration testing Test EzLocaleSetting
testResetButton(WidgetTester tester, {required RBType type, required EFUILang l10n, required bool isLefty}) Future<void>
For integration testing Tests EzResetButton
testTMSwitch(WidgetTester tester, {required EFUILang l10n, required bool isLefty}) Future<void>
For integration testing Test EzThemeModeSwitch
touch(WidgetTester tester, Finder finder, {bool warnIfMissed = false}) Future<void>
For integration tests Find, touch, and settle a target
touchText(WidgetTester tester, String text, {bool findRichText = false, bool skipOffstage = false, bool warnIfMissed = false}) Future<void>
For integration tests Find, touch, and settle a text target
touchWidget(WidgetTester tester, Type widgetType, {bool skipOffstage = false, bool warnIfMissed = false}) Future<void>
For integration tests Find, touch, and settle a widget target
validate(WidgetTester tester, Finder finder, {Matcher matcher = findsOneWidget}) Future<void>
For integration tests expect(finder, matcher) and ensure visibility
validateText(WidgetTester tester, String text, {bool findRichText = false, bool skipOffstage = false, Matcher matcher = findsOneWidget}) Future<void>
For integration tests Find text and ensure visibility
validateWidget(WidgetTester tester, Type widgetType, {Matcher matcher = findsOneWidget, bool skipOffstage = false}) Future<void>
For integration tests Find widget and ensure visibility
widthOf(BuildContext context) double
More readable than MediaQuery.of(context).size.width