AFFunctionalThemeUnused class
Can be used as a template parameter when you don't want a theme.
- Inheritance
- 
    - Object
- AFFunctionalTheme
- AFFunctionalThemeUnused
 
Constructors
- 
          AFFunctionalThemeUnused(AFFundamentalThemeState fundamentals, AFBuildContext<AFFlexibleStateView, AFRouteParam> context)
Properties
- borderRadius → AFBorderRadius
- 
  
  no setterinherited
- colorAlert → Color
- 
  
  no setterinherited
- colorBackground → Color
- 
  
  no setterinherited
- colorBlack → Color
- 
  
  no setterinherited
- colorError → Color
- 
  
  no setterinherited
- colorOnAlert → Color
- 
  
  no setterinherited
- colorOnBackground → Color
- 
  
  no setterinherited
- colorOnError → Color
- 
  
  no setterinherited
- colorOnPrimary → Color
- 
  The foreground color on a primary background from ThemeData
  no setterinherited
- colorOnSecondary → Color
- 
  
  no setterinherited
- colorOnSurface → Color
- 
  
  no setterinherited
- colorPrimary → Color
- 
  
  no setterinherited
- colorPrimaryDarker → Color
- 
  
  no setterinherited
- colorPrimaryDisabled → Color
- 
  
  no setterinherited
- colorPrimaryLighter → Color
- 
  
  no setterinherited
- colorSchemeBrightness → Brightness
- 
  
  no setterinherited
- colorSecondary → Color
- 
  
  no setterinherited
- colorSurface → Color
- 
  
  no setterinherited
- colorTapableText → Color?
- 
  
  no setterinherited
- colorWhite → Color
- 
  
  no setterinherited
- contentPadding → AFSpacing
- 
  
  no setterinherited
- 
  context
  → AFBuildContext<AFFlexibleStateView, AFRouteParam> 
- 
  
  finalinherited
- deviceAlwaysUse24HourFormat → bool
- 
  
  no setterinherited
- deviceBrightness → Brightness
- 
  The light/dark mode setting of the device.
  no setterinherited
- deviceFormFactor → AFFormFactor
- 
  An appoximate form factor for the device.
  no setterinherited
- deviceIsDarkMode → bool
- 
  
  no setterinherited
- deviceIsLandscape → bool
- 
  
  no setterinherited
- deviceIsLandscapeTablet → bool
- 
  
  no setterinherited
- deviceIsLightMode → bool
- 
  
  no setterinherited
- deviceIsPhone → bool
- 
  
  no setterinherited
- deviceIsPortrait → bool
- 
  
  no setterinherited
- deviceIsTablet → bool
- 
  
  no setterinherited
- deviceLocale → Locale
- 
  The locale for the device.
  no setterinherited
- deviceLogicalSize → Size
- 
  
  no setterinherited
- deviceOrientation → Orientation
- 
  The orientation of the device.
  no setterinherited
- devicePadding → WindowPadding
- 
  See Flutter Window
  no setterinherited
- devicePhysicalSize → Size
- 
  The physical size of the screen.
  no setterinherited
- deviceTextScaleFactor → double
- 
  The text scale factor for the device.
  no setterinherited
- deviceViewInsets → WindowPadding
- 
  See Flutter Window
  no setterinherited
- deviceViewPadding → WindowPadding
- 
  See Flutter Window
  no setterinherited
- fundamentals → AFFundamentalThemeState
- 
  
  finalinherited
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- id → AFThemeID
- 
  
  finalinherited
- margin → AFSpacing
- 
  
  no setterinherited
- padding → AFSpacing
- 
  
  no setterinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- size1 → double
- 
  
  no setterinherited
- size2 → double
- 
  
  no setterinherited
- size3 → double
- 
  
  no setterinherited
- size4 → double
- 
  
  no setterinherited
- size5 → double
- 
  
  no setterinherited
- styleOnCard → TextTheme
- 
  See TextTheme, text theme to use on a card background
  no setterinherited
- styleOnPrimary → TextTheme
- 
  See TextTheme, text theme to use on a primary color background
  no setterinherited
- styleOnSecondary → TextTheme
- 
  Flutter by default does not have a styleOnSecondary, I am not sure why.
  no setterinherited
- themeData → ThemeData?
- 
  
  no setterinherited
Methods
- 
  accessOnEventContext() → AFOnEventContext 
- 
  Intended to be used in subclasses to access AFOnEventContext in event handlers for returned widgets.
  inherited
- 
  accessTheme<TFunctionalTheme extends AFFunctionalTheme> (AFThemeID themeId) → TFunctionalTheme 
- 
  
  inherited
- 
  background(dynamic idOrColor) → Color 
- 
  
  inherited
- 
  borderRadiusScaled({double? all, double? left, double? right, double? top, double? bottom, double? leftTop, double? leftBottom, double? rightTop, double? rightBottom, Radius createRadius(double)?}) → BorderRadius 
- 
  
  inherited
- 
  childButton({AFWidgetID? wid, required Widget child, required AFPressedDelegate? onPressed, Color? color, Color? textColor}) → Widget 
- 
  
  inherited
- 
  childButtonFlat({AFWidgetID? wid, required Widget child, required AFPressedDelegate onPressed}) → Widget 
- 
  Create a button that the user is most likely to click.
  inherited
- 
  childButtonFlatText({AFWidgetID? wid, Object? text, required AFPressedDelegate onPressed}) → Widget 
- 
  @see translate for all the ways text can be specified.
  inherited
- 
  childButtonIcon({AFWidgetID? wid, required Widget child, required AFPressedDelegate onPressed, Color? color, VisualDensity? visualDensity}) → Widget 
- 
  
  inherited
- 
  childButtonPrimary({AFWidgetID? wid, required Widget child, required AFPressedDelegate? onPressed}) → Widget 
- 
  Create a button that the user is most likely to click.
  inherited
- 
  childButtonPrimaryText({AFWidgetID? wid, Object? text, required AFPressedDelegate onPressed}) → Widget 
- 
  Create a button that the user is most likely to click.
  inherited
- 
  childButtonSecondary({AFWidgetID? wid, required Widget child, required AFPressedDelegate onPressed}) → Widget 
- 
  Create a button that the user is most likely to click.
  inherited
- 
  childButtonSecondaryText({AFWidgetID? wid, Object? text, required AFPressedDelegate onPressed}) → Widget 
- 
  Create a button that the user is most likely to click.
  inherited
- 
  childButtonStandardBack(AFStateProgrammingInterface< AFComponentState, AFBuildContext< spi, {required AFScreenID screen, AFWidgetID wid = AFUIWidgetID.buttonBack, dynamic iconIdOrWidget = AFUIThemeID.iconBack, dynamic iconColor, dynamic iconSize, String tooltip = "Back", bool worksInSingleScreenTest = true, AFShouldContinueCheckDelegate? shouldContinueCheck}) → WidgetAFFlexibleStateView, AFRouteParam> , AFFunctionalTheme>
- 
  Creates a standard back button, which navigates up the screen hierarchy.
  inherited
- 
  childCard({required Widget child, AFWidgetID? wid, EdgeInsets? margin, Color? color}) → Widget 
- 
  
  inherited
- 
  childCardColumn(List< Widget> rows, {EdgeInsets? padding, CrossAxisAlignment? align, AFWidgetID? widColumn, AFWidgetID? widCard, Color? color}) → Widget
- 
  
  inherited
- 
  childChoiceChip({AFWidgetID? wid, required Widget label, required bool selected, Color? selectedColor, required AFOnChangedBoolDelegate onSelected}) → Widget 
- 
  
  inherited
- 
  childColumn(List< Widget> children, {AFWidgetID? wid, MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start, CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.start, MainAxisSize mainAxisSize = MainAxisSize.max}) → Column
- 
  
  inherited
- 
  childDebugDrawerBegin(Widget? beginDrawer) → Widget? 
- 
  As long as you are calling AFFunctionalTheme.childScaffold, you don't need
to worry about this, it will be done for you.
  inherited
- 
  childDebugDrawerEnd(Widget? endDrawer) → Widget? 
- 
  As long as you are calling AFFunctionalTheme.childScaffold, you don't need
to worry about this, it will be done for you.
  inherited
- 
  childDivider({Color? color}) → Widget 
- 
  
  inherited
- 
  childEmbeddedRender({required AFRenderEmbeddedChildDelegate render}) → Widget 
- 
  
  inherited
- 
  childExtraScrollSpacer({double height = 100}) → Widget 
- 
  
  inherited
- 
  childMargin({AFWidgetID? wid, required Widget child, required EdgeInsets? margin}) → Widget 
- 
  
  inherited
- 
  childMarginStandard({AFWidgetID? wid, required Widget child}) → Widget 
- 
  
  inherited
- 
  childPadding({AFWidgetID? wid, required Widget child, EdgeInsets? padding}) → Widget 
- 
  
  inherited
- 
  children() → List< Widget> 
- 
  A utility for creating a list of child widgets
  inherited
- 
  childrenColumn() → List< Widget> 
- 
  Identical to column, except prefixed with children to enhance discoverability
  inherited
- 
  childrenDivideWidgets(List< Widget> rows, AFWidgetID? widBase, {dynamic colorLine, dynamic thickness, dynamic height, dynamic indent}) → List<Widget> 
- 
  Replaces ListTile.divideTiles, including a key based on widBasefor each one.inherited
- 
  childrenExpansionList() → List< ExpansionPanel> 
- 
  A utility for creating a list of expansion panels in an expansion list.
  inherited
- 
  childrenRow() → List< Widget> 
- 
  Identical to row, except prefixed with children to enhance discoverability
  inherited
- 
  childrenTable() → List< TableRow> 
- 
  A utility for create a list of table rows in a table.
  inherited
- 
  childRichTextBuilder({AFWidgetID? wid, dynamic styleNormal, dynamic styleBold, dynamic styleTapable, dynamic styleMuted}) → AFRichTextBuilder 
- 
  
  inherited
- 
  childRichTextBuilderOnCard({AFWidgetID? wid}) → AFRichTextBuilder 
- 
  
  inherited
- 
  childRow(List< Widget> children, {MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start}) → Row
- 
  
  inherited
- 
  childScaffold<TBuildContext extends AFBuildContext< (AFFlexibleStateView, AFRouteParam> >{Key? key, required AFStateProgrammingInterface< AFComponentState, AFBuildContext< spi, AFConnectedUIBase<AFFlexibleStateView, AFRouteParam> , AFFunctionalTheme>AFComponentState, AFFunctionalTheme, AFFlexibleStateView, AFRouteParam, AFStateProgrammingInterface< ? contextSource, PreferredSizeWidget? appBar, Widget? drawer, required Widget body, Widget? floatingActionButton, Color? backgroundColor, FloatingActionButtonLocation? floatingActionButtonLocation, FloatingActionButtonAnimator? floatingActionButtonAnimator, Widget? endDrawer, Widget? bottomSheet, bool? resizeToAvoidBottomPadding, bool? resizeToAvoidBottomInset, bool primary = true, DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start, bool extendBody = false, bool extendBodyBehindAppBar = false, Color? drawerScrimColor, double? drawerEdgeDragWidth, bool drawerEnableOpenDragGesture = true, bool endDrawerEnableOpenDragGesture = true}) → WidgetAFComponentState, AFBuildContext< >AFFlexibleStateView, AFRouteParam> , AFFunctionalTheme>
- 
  A method used to create a standard scaffold, please use this instead of creating you scaffold
manually with return Scaffold(...
  inherited
- 
  childSwitch({AFWidgetID? wid, required bool value, required AFOnChangedBoolDelegate onChanged}) → Widget 
- 
  
  inherited
- 
  childText({Object? text, AFWidgetID? wid, dynamic style, dynamic textColor, dynamic fontSize, dynamic fontWeight, TextAlign? textAlign, TextOverflow? overflow, int? maxLines, bool? softWrap}) → Text 
- 
  @see translate for all the ways text can be specified.
  inherited
- 
  childTextBuilder({AFWidgetID? wid, dynamic style}) → AFTextBuilder 
- 
  
  inherited
- 
  childTextEmpty() → Widget 
- 
  
  inherited
- 
  childTextField({required AFScreenID screenId, required AFWidgetID wid, AFTextEditingControllers? controllers, AFTextEditingController? controller, AFBuildContext< AFFlexibleStateView, AFRouteParam> ? context, AFRouteParamWithFlutterState? parentParam, required AFOnChangedStringDelegate onChanged, String? expectedText, bool? enabled, bool obscureText = false, bool autofocus = false, int? minLines, int maxLines = 1, FocusNode? focusNode, InputDecoration? decoration, bool autocorrect = true, TextAlign textAlign = TextAlign.start, TextInputType? keyboardType, TextStyle? style, Color? cursorColor, ValueChanged<String> ? onSubmitted}) → Widget
- 
  Create a text field with the specified text.
  inherited
- 
  childTopBottomHostedControls(BuildContext context, Widget main, {Widget? bottomControls, Widget? topControls, double topHeight = 0.0}) → Widget 
- 
  Create a widget that has the bottomControlsandtopControlspermenantly affixed above/below themainwidget.inherited
- 
  childTopTab({AFWidgetID? wid, required Widget child, required bool isSel, required AFPressedDelegate onPressed}) → Widget 
- 
  
  inherited
- 
  childTopTabContainer({required List< Widget> children, Color? color, BorderRadius? borderRadius}) → Widget
- 
  
  inherited
- 
  childTopTabText({AFWidgetID? wid, required String text, required bool isSel, required AFPressedDelegate onPressed}) → Widget 
- 
  
  inherited
- 
  color(dynamic idOrColor) → Color? 
- 
  
  inherited
- 
  colorDarker(dynamic color, {int percent = 10}) → Color 
- 
  
  inherited
- 
  colorForeground(dynamic idOrColor) → Color 
- 
  
  inherited
- 
  colorGreyShade(int shade) → Color 
- 
  
  inherited
- 
  colorLighter(dynamic c, {int percent = 10}) → Color 
- 
  
  inherited
- 
  column() → List< Widget> 
- 
  A utility for creating a list of widgets in a column.
  inherited
- 
  columnTable() → List< TableRow> 
- 
  A utility for create a list of table rows in a table.
  inherited
- 
  deviceHasFormFactor({AFFormFactor? atLeast, AFFormFactor? atMost, Orientation? withOrientation}) → bool 
- 
  
  inherited
- 
  errorStyle() → TextStyle 
- 
  
  inherited
- 
  hintStyle() → TextStyle 
- 
  
  inherited
- 
  icon(dynamic id, {dynamic iconColor, dynamic iconSize}) → Widget? 
- 
  
  inherited
- 
  iconBack({dynamic iconColor, dynamic iconSize}) → Widget? 
- 
  
  inherited
- 
  
  inherited
- 
  iconStandard(AFUIStandardChoiceDialogIcon icon, {double? size}) → Widget? 
- 
  
  inherited
- 
  keyForWID(AFID? wid) → LocalKey? 
- 
  Returns a unique key for the specified widget.
  inherited
- 
  keyForWIDNotNull(AFID wid) → LocalKey 
- 
  Returns a unique key for the specified widget.
  inherited
- 
  leadingButtonStandardBack(AFStateProgrammingInterface< AFComponentState, AFBuildContext< spi, {required AFScreenID screen, AFWidgetID wid = AFUIWidgetID.buttonBack, dynamic iconIdOrWidget = AFUIThemeID.iconBack, dynamic iconColor, dynamic iconSize, String tooltip = "Back", bool worksInSingleScreenTest = true, AFShouldContinueCheckDelegate? shouldContinueCheck}) → WidgetAFFlexibleStateView, AFRouteParam> , AFFunctionalTheme>
- 
  
  inherited
- 
  marginCustom({int? all, int? horizontal, int? vertical, int? top, int? bottom, int? left, int? right}) → EdgeInsets 
- 
  Create a custom margin based on the standard sizes you setup in your fundamental theme.
  inherited
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  notTranslated(Object value) → AFNotTranslated 
- 
  
  inherited
- 
  paddingCustom({int? horizontal, int? vertical, int? top, int? bottom, int? left, int? right, int? all}) → EdgeInsets 
- 
  Important: the values you are passing in are scale factors on the
value specified by your fundamental theme they are not
absolute measurements.
  inherited
- 
  radiusCircular(double r) → Radius 
- 
  
  inherited
- 
  row() → List< Widget> 
- 
  A utility for creating a list of widgets in a row.
  inherited
- 
  showBottomSheet({required AFStateProgrammingInterface< AFComponentState, AFBuildContext< spi, Color? backgroundColor, double? elevation, ShapeBorder? shape, Clip? clipBehavior}) → voidAFFlexibleStateView, AFRouteParam> , AFFunctionalTheme>
- 
  See AFBuildContext.showBottomSheet, this is a one line call to that method, here for discoverability.inherited
- 
  showDialog<TReturn> ({required AFStateProgrammingInterface< AFComponentState, AFBuildContext< spi, void onReturn(TReturn?)?, bool barrierDismissible = true, Color? barrierColor, bool useSafeArea = true, RouteSettings? routeSettings}) → voidAFFlexibleStateView, AFRouteParam> , AFFunctionalTheme>
- 
  See AFBuildContext.showDialogAFib, this is just a one line call to that method for discoverability.inherited
- 
  showModalBottomSheet({required AFStateProgrammingInterface< AFComponentState, AFBuildContext< spi, AFReturnValueDelegate<AFFlexibleStateView, AFRouteParam> , AFFunctionalTheme>Object?> ? onReturn, Color? backgroundColor, double? elevation, ShapeBorder? shape, Clip? clipBehavior, Color? barrierColor, bool isScrollControlled = false, bool isDismissible = true, bool enableDrag = true, RouteSettings? routeSettings}) → void
- 
  See AFBuildContext.showModalBottomSheetAFib, this is a one line call to that method, here for discoverability.inherited
- 
  showSnackbarText(AFStateProgrammingInterface< AFComponentState, AFBuildContext< spi, String text) → voidAFFlexibleStateView, AFRouteParam> , AFFunctionalTheme>
- 
  Show the text in a snackbar.
  inherited
- 
  size(dynamic id, {double scale = 1.0}) → double? 
- 
  
  inherited
- 
  standardShouldContinueAlertCheck({required AFStateProgrammingInterface< AFComponentState, AFBuildContext< spi, required bool shouldAsk, }) → AFShouldContinueCheckDelegateAFFlexibleStateView, AFRouteParam> , AFFunctionalTheme>
- 
  
  inherited
- 
  styleBold() → TextStyle 
- 
  Merges bold into whatever the style would have been.
  inherited
- 
  styleError() → TextStyle 
- 
  
  inherited
- 
  styleHint() → TextStyle 
- 
  
  inherited
- 
  styleText(dynamic idOrTextStyle) → TextStyle? 
- 
  
  inherited
- 
  styleTextButton({Color? color, Color? textColor}) → ButtonStyle 
- 
  
  inherited
- 
  styleTextButtonPrimary() → ButtonStyle 
- 
  
  inherited
- 
  tapRecognizerFor({required AFWidgetID wid, AFTapGestureRecognizersHolder? recognizers, AFRouteParamWithFlutterState? parentParam, required AFPressedDelegate onTap}) → TapGestureRecognizer 
- 
  
  inherited
- 
  textHourMinuteLabel(int hour, int minute, {bool? alwaysUse24Hours}) → String 
- 
  Returns a string label fpor hours and minutes that respects the device's
always24Hours settings
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
- 
  translate({AFWidgetID? wid, Object? text}) → String 
- 
  Translate the specified string id and return it.
  inherited
- 
  translateNever(Object value) → AFNotTranslated 
- 
  Here for discoverability, you might prefer notTranslated.
  inherited
- 
  translateTemplate({required Object template, required Map< Object, Object> insertions}) → AFTranslationTemplate
- 
  
  inherited
- 
  weight(dynamic weight) → FontWeight? 
- 
  
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited