Skip to content

Commit

Permalink
fix(example: Alignment of HyperlinkButton
Browse files Browse the repository at this point in the history
  • Loading branch information
bdlukaa committed Dec 31, 2023
1 parent 4dd43a1 commit dec9b0c
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions example/lib/screens/inputs/button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,14 @@ class _ButtonPageState extends State<ButtonPage> with PageMixin {
child: Link(
uri: Uri.parse('https://github.com/bdlukaa/fluent_ui'),
builder: (context, open) {
return HyperlinkButton(
onPressed: open,
child: Semantics(
link: true,
child: Text('Fluent UI homepage'),
return Align(
alignment: AlignmentDirectional.centerStart,
child: HyperlinkButton(
onPressed: open,
child: Semantics(
link: true,
child: Text('Fluent UI homepage'),
),
),
);
},
Expand Down

0 comments on commit dec9b0c

Please sign in to comment.