File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import 'package:dart_openai/dart_openai.dart' ;
21import 'package:flutter/material.dart' ;
2+ import 'package:url_launcher/url_launcher.dart' ;
3+ import 'package:dart_openai/dart_openai.dart' ;
4+ import 'package:icons_flutter/icons_flutter.dart' ;
35import 'dart:convert' ;
46import 'dart:async' ;
57import 'package:tray_manager/tray_manager.dart' ;
@@ -527,8 +529,11 @@ class _QuestionPageState extends State<QuestionPage>
527529 appBar: AppBar (
528530 title: Text (S .current.chat),
529531 actions: [
532+ IconButton (onPressed: () async {
533+ await launchUrl (Uri .parse ("https://github.com/funnycups/petto" ));
534+ }, icon: const Icon (Feather .github)),
530535 IconButton (
531- icon: const Icon (Icons .settings),
536+ icon: const Icon (Feather .settings),
532537 onPressed: _showSettingsDialog,
533538 ),
534539 ],
Original file line number Diff line number Diff line change @@ -47,6 +47,8 @@ dependencies:
4747 path : any
4848 flutter_secure_storage : any
4949 flutter_soloud : any
50+ url_launcher : any
51+ icons_flutter : any
5052
5153 # The following adds the Cupertino Icons font to your application.
5254 # Use with the CupertinoIcons class for iOS style icons.
You can’t perform that action at this time.
0 commit comments