Skip to content

Commit

Permalink
fix: add info on upper right order button
Browse files Browse the repository at this point in the history
  • Loading branch information
evan361425 committed Mar 25, 2024
1 parent 4775b68 commit dc66a23
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/ui/home/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ class HomePage extends StatelessWidget {
onPressed: goOrderPage,
child: const Text('點餐'),
),
const Tooltip(
message: '未來這裡的按鈕將會移除,請使用右下角的點餐按鈕。',
triggerMode: TooltipTriggerMode.tap,
showDuration: Duration(seconds: 30),
margin: EdgeInsets.symmetric(horizontal: 16.0),
child: Icon(Icons.info_outline),
)
],
),
];
Expand Down

0 comments on commit dc66a23

Please sign in to comment.