FccPageHeader class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- FccPageHeader
Constructors
-
FccPageHeader({TextEditingController? controller, Key? key, required String title, TextStyle? titleStyle, String? subtitle, TextStyle? subtitleStyle, FccLeadingShape leadingShape = FccLeadingShape.roundedRect, IconData? leadingIcon, Color? leadingIconColor, double? leadingBackgroundOpacity, double? leadingIconSize = 28, double leadingCornerRadius = 16, Widget? leadingWidget, ValueChanged<
String> ? onSearchChanged, VoidCallback? onBarcodeScan, VoidCallback? onVoiceSearch, VoidCallback? onClear, ValueChanged<String> ? onSubmitted, String? searchTitle, String? searchHintText, IconData? prefixIcon, bool showClearButton = true, bool enableAutoFocus = false, Color? backgroundColor, double borderRadius = 10.0, BoxBorder? customBorder, TextInputType keyboardType = TextInputType.text, Duration debounceDuration = const Duration(milliseconds: 300), String? semanticLabel, String? semanticHint, String? textFieldSemanticLabel, TextStyle? inputTextStyle, TextStyle? hintTextStyle, FocusNode? focusNode, bool isLoading = false, int? maxLines = 1, EdgeInsetsGeometry? contentPadding, List<Widget> ? additionalActions, Future<List< suggestionCallback(String)?, Widget suggestionBuilder(BuildContext, String)?, List<String> >String> ? recentSearches, double? maxSuggestionsHeight, ValueChanged<String> ? onSuggestionSelected, bool showHeader = true, bool showSearchBar = true, String? recentSearchesTitle, String noSuggestionsText = 'No results found', bool showTextFieldBorder = true, bool use3DEffectOnTextField = true}) -
const
Properties
-
additionalActions
→ List<
Widget> ? -
final
- backgroundColor → Color?
-
final
- borderRadius → double
-
final
- contentPadding → EdgeInsetsGeometry?
-
final
- controller → TextEditingController?
-
final
- customBorder → BoxBorder?
-
final
- debounceDuration → Duration
-
final
- enableAutoFocus → bool
-
final
- focusNode → FocusNode?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hintTextStyle → TextStyle?
-
final
- inputTextStyle → TextStyle?
-
final
- isLoading → bool
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- keyboardType → TextInputType
-
final
- leadingBackgroundOpacity → double?
-
final
- leadingCornerRadius → double
-
final
- leadingIcon → IconData?
-
final
- leadingIconColor → Color?
-
final
- leadingIconSize → double?
-
final
- leadingShape → FccLeadingShape
-
final
- leadingWidget → Widget?
-
final
- maxLines → int?
-
final
- maxSuggestionsHeight → double?
-
final
- noSuggestionsText → String
-
final
- onBarcodeScan → VoidCallback?
-
final
- onClear → VoidCallback?
-
final
-
onSearchChanged
→ ValueChanged<
String> ? -
final
-
onSubmitted
→ ValueChanged<
String> ? -
final
-
onSuggestionSelected
→ ValueChanged<
String> ? -
final
- onVoiceSearch → VoidCallback?
-
final
- prefixIcon → IconData?
-
final
-
recentSearches
→ List<
String> ? -
final
- recentSearchesTitle → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchHintText → String?
-
final
- searchTitle → String?
-
final
- semanticHint → String?
-
final
- semanticLabel → String?
-
final
- showClearButton → bool
-
final
- showHeader → bool
-
final
- showSearchBar → bool
-
final
- showTextFieldBorder → bool
-
final
- subtitle → String?
-
final
- subtitleStyle → TextStyle?
-
final
- suggestionBuilder → Widget Function(BuildContext, String)?
-
final
-
suggestionCallback
→ Future<
List< Function(String)?String> > -
final
- textFieldSemanticLabel → String?
-
final
- title → String
-
final
- titleStyle → TextStyle?
-
final
- use3DEffectOnTextField → bool
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< FccPageHeader> -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited