Link

Links are used as navigational elements, and can be used on their own, or inline with text.

Component checklist

Flutter

Is new design vision part implemented using new tokens?

Up to date

Resources

Examples

Navigation/Link


                                                        
                                                        
                                                            OptimusStandaloneLink(
                                                                          onPressed: () {},
                                                                          text: Text('Link'),
                                                                          size: OptimusStandaloneLinkSize.medium,
                                                                          isExternal: false,
                                                                          strong: false,
                                                                          variant: OptimusLinkVariant.primary,
                                                                        );
                                                                      
                                                        
                                                            

OptimusStandaloneLink Example

API

Name

Description

Type

Default

onPressed

 

VoidCallback?

 

text

 

Widget

 

size

 

OptimusStandaloneLinkSize

 

isExternal

 

bool

false

strong

 

bool

false

variant

 

OptimusLinkVariant

OptimusLinkVariant.primary

inherit

 

bool

false

overflow

 

TextOveflow