FooterBlock class
A responsive footer block with contact email, copy-to-clipboard action, and social profile links for landing pages.
Figma Specifications (Node 922:9277 - FooterBlock):
- Variants:
device=PC(922:7403): Designed width 896px (contextual fill), 24px padding, Row layout with space-between distribution.- Left (
Technology Stack): Email text (14px Geist Regular#000000) + ButtonIconGhost copy button (24x24px). - Right (
Availability): "Find me on " text (14px Geist Regular#4A5565) + ButtonIcon white buttons (48x48px, 20px radius).
- Left (
device=Mobile(922:9278): Designed width 316px (contextual fill), 24px padding, Column layout with 24px gap, center-aligned.- Top (
Technology Stack): Email text + ButtonIconGhost copy button. - Bottom (
Availability): "Find me on " text + ButtonIcon white buttons.
- Top (
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- FooterBlock
Constructors
-
Creates a FooterBlock instance.
const
Properties
- breakpoint → double
-
Width threshold below which mobile layout is activated (defaults to 500.0).
final
- copyButtonIcon → IconData
-
Icon data for the copy button (defaults to Icons.content_copy_outlined).
final
- device → FooterBlockDevice
-
Viewport mode (
auto,pc, ormobile).final - email → String
-
Contact email address or text.
final
- emailWidget → Widget?
-
Custom widget override for the email text.
final
- hasCopyButton → bool
-
Whether the copy-to-clipboard button is displayed (defaults to true).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasSocial → bool
-
Whether the social links section is displayed (defaults to true).
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onCopyTap → VoidCallback?
-
Custom tap callback for the copy button. If null, copies email to clipboard.
final
- padding → EdgeInsetsGeometry
-
Outer padding for the footer container (defaults to 24px).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Label preceding the social links (defaults to 'Find me on ').
final
-
Custom widget override for the social label.
final
-
List of social links to display.
final
- width → double?
-
Optional fixed width constraint for the block.
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
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
Static Methods
-
defaultSocialLinks(
) → List< FooterSocialLink> - Default social profile links matching Figma Node 922:9277.