Compare commits

25 Commits

Author SHA1 Message Date
ce25d26f70 moved editing page to popup
All checks were successful
Build CI / AMD64 Build (push) Successful in 1m54s
2026-03-11 01:10:25 +05:30
cee48b3e4b Update pubspec.yaml 2026-03-05 17:14:27 +00:00
9c1e4e9100 Update lib/main.dart
All checks were successful
Build CI / AMD64 Build (push) Successful in 2m5s
2026-03-02 16:09:40 +00:00
fd701fb2af Update configs/AppImageBuilder_amd64.yml 2026-03-02 16:09:13 +00:00
b84580ed1f Update .gitea/workflows/build.yaml
All checks were successful
Build CI / AMD64 Build (push) Successful in 1m52s
2026-03-02 16:05:56 +00:00
ba727713d0 Update lib/main.dart
All checks were successful
Build CI / AMD64 Build (push) Successful in 1m38s
2026-03-02 16:00:54 +00:00
05e09552be Update pubspec.yaml 2026-03-02 14:05:24 +00:00
86e4cf78d1 testing versioning
Some checks failed
Build CI / AMD64 Build (push) Failing after 1m14s
2026-03-02 13:44:35 +00:00
dd0ba72cc1 Update configs/AppImageBuilder_amd64.yml 2026-03-02 13:14:46 +00:00
ec336ef1c2 Update pubspec.yaml 2026-03-02 13:12:53 +00:00
582e5134f8 Update .gitea/workflows/build.yaml
All checks were successful
Build CI / AMD64 Build (push) Successful in 12m3s
2026-03-01 17:10:31 +00:00
64257e8ea3 Update .gitea/workflows/build.yaml
All checks were successful
Build CI / AMD64 Build (push) Successful in 2m11s
2026-03-01 17:02:02 +00:00
5a28fd621c Update .gitea/workflows/build.yaml
Some checks failed
Build CI / AMD64 Build (push) Failing after 1m47s
2026-03-01 16:59:02 +00:00
7eae2d34e7 Update .gitea/workflows/build.yaml
All checks were successful
Build CI / AMD64 Build (push) Successful in 2m31s
2026-03-01 16:48:44 +00:00
f5bd5beb82 Update configs/AppImageBuilder_amd64.yml 2026-03-01 16:47:29 +00:00
112d608b7b Update .gitea/workflows/build.yaml
Some checks failed
Build CI / AMD64 Build (push) Failing after 2m49s
2026-03-01 16:34:09 +00:00
7826a955a8 Update .gitea/workflows/build.yaml
Some checks failed
Build CI / AMD64 Build (push) Failing after 1m54s
2026-03-01 16:25:37 +00:00
776aa5600c Update .gitea/workflows/build.yaml
Some checks failed
Build CI / AMD64 Build (push) Failing after 2m4s
2026-03-01 14:50:41 +00:00
e8117866ae Update .gitea/workflows/build.yaml
Some checks failed
Build CI / AMD64 Build (push) Failing after 1m36s
2026-03-01 14:48:11 +00:00
282278b3ea Update .gitea/workflows/build.yaml
Some checks failed
Build CI / AMD64 Build (push) Failing after 1m30s
2026-03-01 14:42:08 +00:00
74e9a73892 Update .gitea/workflows/build.yaml
Some checks failed
Build CI / AMD64 Build (push) Failing after 1m42s
2026-03-01 14:28:08 +00:00
bb3d78f3a0 Update .gitea/workflows/build.yaml 2026-03-01 14:27:39 +00:00
4c898430c6 Update lib/main.dart
Some checks failed
Build CI / AMD64 Build (push) Failing after 2m5s
2026-03-01 14:24:46 +00:00
e44a5b658a removed arm build, added appimage build to CI 2026-03-01 19:52:29 +05:30
327d62070b added appimage build 2026-03-01 19:42:23 +05:30
15 changed files with 213 additions and 314 deletions

View File

@@ -2,10 +2,13 @@ name: Build CI
# on: [push] # on: [push]
on: on:
push: push:
tags:
- "v*"
branches: branches:
- master - master
paths: paths:
- "lib/**" - "lib/**"
- ".gitea/**"
jobs: jobs:
AMD64: AMD64:
@@ -48,66 +51,25 @@ jobs:
# - name: Test project # - name: Test project
# run: flutter test # run: flutter test
- name: Build - name: Build App
run: flutter build linux run: flutter build linux
- name: Copy Build Files - name: Build AppImage
run: cp -r build/linux/*/release/bundle prod/ uses: AppImageCrafters/build-appimage-action@master
with:
recipe: configs/AppImageBuilder_amd64.yml
- name: print built images
run: ls -hla
- name: Save Artifacts - name: Save Artifacts
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: PROD.amd64 name: Prod-${{ github.ref_type == 'tag' && github.ref_name || 'master' }}-x86_64.AppImage
path: prod/ path: Prod-latest-x86_64.AppImage
ARM64: - name: Create New Release
name: ARM64 Build uses: akkuman/gitea-release-action@v1
runs-on: linux-arm64
steps:
- name: Checkout code
uses: actions/checkout@v4
with: with:
channel: master files: Prod-latest-x86_64.AppImage
prerelease: ${{ github.ref_type == 'tag' }}
- uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ gitea.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Install Framework Dependencies
run: |
sudo apt-get update -y
sudo apt install -y ninja-build cmake clang libgtk-3-dev
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
channel: master
flutter-version: 3.38.9
- name: Check Flutter Installation
run: flutter doctor -v
- name: Get Project Dependencies
run: flutter pub get
# - name: Analyze project
# run: flutter analyze
# - name: Test project
# run: flutter test
- name: Build
run: flutter build linux
- name: Copy Build Files
run: cp -r build/linux/*/release/bundle prod/
- name: Save Artifacts
uses: actions/upload-artifact@v3
with:
name: PROD.arm64
path: prod/

View File

@@ -26,5 +26,3 @@ linter:
# Additional information about this file can be found at # Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options # https://dart.dev/guides/language/analysis-options
plugins:
riverpod_lint: ^3.1.3

View File

@@ -0,0 +1,27 @@
# appimage-builder recipe see https://appimage-builder.readthedocs.io for details
version: 1
script:
- which mksquashfs || apt install squashfs-tools
- rm -rf AppDir | true
- cp -r build/linux/x64/release/bundle AppDir
- mkdir -p AppDir/usr/share/icons/hicolor/64x64/apps/
- cp configs/prodIcon.png AppDir/usr/share/icons/hicolor/64x64/apps/
AppDir:
path: ./AppDir
app_info:
id: net.inaph.prod
name: Prod
icon: prodIcon
version: latest
exec: prod
exec_args: $@
files:
exclude:
- usr/share/man
- usr/share/doc/*/README.*
- usr/share/doc/*/changelog.*
- usr/share/doc/*/NEWS.*
- usr/share/doc/*/TODO.*
AppImage:
arch: x86_64
update-information: guess

BIN
configs/prodIcon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -1,6 +0,0 @@
FROM ghcr.io/cirruslabs/flutter:3.38.9
COPY ./ /build
WORKDIR /build
RUN apt update -y && apt install clang cmake ninja-build pkg-config libgtk-3-dev libstdc++-12-dev -y
RUN flutter build linux --release
RUN cp build/linux/*/release/bundle/prod /prod

View File

@@ -28,7 +28,6 @@ class MyApp extends StatelessWidget {
routes: { routes: {
"/": (context) => HomePage(), "/": (context) => HomePage(),
"/editors": (context) => EditorEditor(), "/editors": (context) => EditorEditor(),
"/manageprj": (context) => ManageProject(),
}, },
initialRoute: "/", initialRoute: "/",
); );

View File

@@ -17,22 +17,20 @@ class GlobalModel extends ChangeNotifier {
GlobalModel() { GlobalModel() {
SharedPreferences.getInstance().then((a) { SharedPreferences.getInstance().then((a) {
print("Loaded sp");
prefs = a; prefs = a;
editors = [Editor("", "None", "NANII", "", "")]; editors = [];
id2EdtMap = {"NANII": 0}; id2EdtMap = {};
if (prefs.containsKey(kEditorsKey)) { if (prefs.containsKey(kEditorsKey)) {
String edtData = prefs.getString(kEditorsKey)!; String edtData = prefs.getString(kEditorsKey)!;
List<dynamic> data = jsonDecode(edtData); List<dynamic> data = jsonDecode(edtData);
for (var (i, d) in data.indexed) { for (var (i, d) in data.indexed) {
var localEdt = Editor.fromJson(d); var localEdt = Editor.fromJson(d);
editors.add(localEdt); editors.add(localEdt);
id2EdtMap[localEdt.id] = i + 1; id2EdtMap[localEdt.id] = i;
} }
} else { } else {
prefs.setString(kEditorsKey, jsonEncode(editors)); prefs.setString(kEditorsKey, jsonEncode(editors));
} }
print(id2EdtMap);
final List<String> idList = id2EdtMap.keys.toList(); final List<String> idList = id2EdtMap.keys.toList();
projects = []; projects = [];
@@ -45,6 +43,7 @@ class GlobalModel extends ChangeNotifier {
} else { } else {
prefs.setString(kProjectsKey, jsonEncode(projects)); prefs.setString(kProjectsKey, jsonEncode(projects));
} }
print("Project List:");
print(projects); print(projects);
hoverShow = List.filled(projects.length, false, growable: true); hoverShow = List.filled(projects.length, false, growable: true);
@@ -61,7 +60,6 @@ class GlobalModel extends ChangeNotifier {
void saveEditorState() { void saveEditorState() {
var tempEditors = editors; var tempEditors = editors;
tempEditors.removeWhere((a) => a.id == "");
List<Map<String, dynamic>> arst = tempEditors List<Map<String, dynamic>> arst = tempEditors
.map((a) => a.toJson()) .map((a) => a.toJson())
.toList(); .toList();
@@ -115,8 +113,7 @@ class GlobalModel extends ChangeNotifier {
void addEdt(Editor edt) { void addEdt(Editor edt) {
editors.add(edt); editors.add(edt);
print(editors); rebuildIndex();
id2EdtMap[edt.id] = editors.length - 1;
saveEditorState(); saveEditorState();
notifyListeners(); notifyListeners();
} }
@@ -124,11 +121,19 @@ class GlobalModel extends ChangeNotifier {
void delEdt(int index) { void delEdt(int index) {
Editor removed = editors.removeAt(index); Editor removed = editors.removeAt(index);
int remmedID = id2EdtMap.remove(removed.id)!; int remmedID = id2EdtMap.remove(removed.id)!;
assert(index == remmedID); assert(index == remmedID, "Index: $index removedID: $remmedID");
rebuildIndex();
saveEditorState(); saveEditorState();
notifyListeners(); notifyListeners();
} }
void rebuildIndex() {
id2EdtMap.clear();
for (var (i, e) in editors.indexed) {
id2EdtMap[e.id] = i;
}
}
int get lenEdt { int get lenEdt {
return editors.length; return editors.length;
} }
@@ -138,7 +143,7 @@ class GlobalModel extends ChangeNotifier {
} }
int getEdtPosFromID(String id) { int getEdtPosFromID(String id) {
return id2EdtMap[id] ?? 0; return id2EdtMap[id] ?? -1;
} }
// Editing controller // Editing controller

View File

@@ -14,7 +14,7 @@ class EditorEditor extends StatelessWidget {
return Scaffold( return Scaffold(
appBar: AppBar(title: Text("/ PROject Dashboard / Editors")), appBar: AppBar(title: Text("/ PROject Dashboard / Editors")),
floatingActionButton: EditorFAB(), floatingActionButton: EditorFAB(),
body: gm.lenEdt - 1 > 0 body: gm.lenEdt > 0
? LayoutBuilder( ? LayoutBuilder(
builder: (context, constraints) { builder: (context, constraints) {
int cols = (constraints.maxWidth / 250).floor(); int cols = (constraints.maxWidth / 250).floor();
@@ -25,7 +25,7 @@ class EditorEditor extends StatelessWidget {
mainAxisSpacing: 10, mainAxisSpacing: 10,
childAspectRatio: 1.5, childAspectRatio: 1.5,
), ),
itemCount: gm.lenEdt - 1, itemCount: gm.lenEdt,
itemBuilder: (context, index) => EditorCard(index), itemBuilder: (context, index) => EditorCard(index),
); );
}, },

View File

@@ -7,11 +7,11 @@ import "package:prod/widgets/editorSelector.dart";
import "package:provider/provider.dart"; import "package:provider/provider.dart";
class ManageProject extends StatelessWidget { class ManageProject extends StatelessWidget {
const ManageProject({super.key}); const ManageProject(this.id, {super.key});
final int id;
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
final id = ModalRoute.of(context)?.settings.arguments as int;
GlobalModel gm = Provider.of(context); GlobalModel gm = Provider.of(context);
final Project prj = gm.nthPrj(id); final Project prj = gm.nthPrj(id);
TextEditingController nameController = TextEditingController(); TextEditingController nameController = TextEditingController();
@@ -20,24 +20,36 @@ class ManageProject extends StatelessWidget {
nameController.text = prj.name; nameController.text = prj.name;
pathController.text = prj.path.path; pathController.text = prj.path.path;
langController.text = prj.language; langController.text = prj.language;
return Scaffold( return SimpleDialog(
appBar: AppBar(title: Text("/ PROject Dashboard / Editing ${prj.name} ")), title: Row(
body: Container( mainAxisAlignment: .spaceBetween,
// constraints: BoxConstraints(maxWidth: 500), children: [
child: CustomScrollView( OutlinedButton(
slivers: [ child: Text("Cancel"),
SliverAppBar( onPressed: () => Navigator.pop(context),
// title: gm.isEdited ? Text("Unsaved Changes") : null,
pinned: false,
snap: false,
floating: false,
automaticallyImplyLeading: false,
automaticallyImplyActions: false,
backgroundColor: Colors.transparent,
shape: LinearBorder(),
), ),
SliverToBoxAdapter( Text("Edit Project"),
child: TextField( FilledButton(
child: Text("Save"),
onPressed: () {
prj.name = nameController.text;
prj.path = File(pathController.text);
prj.language = langController.text;
gm.updatePrj(id, prj);
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
content: Text("Updated Project Details"),
duration: Duration(milliseconds: 2000),
),
);
Navigator.pop(context);
},
// gm.updateEdited(false);
),
],
),
children: [
TextField(
style: TextStyle(fontSize: 50), style: TextStyle(fontSize: 50),
controller: nameController, controller: nameController,
textAlign: .center, textAlign: .center,
@@ -48,11 +60,7 @@ class ManageProject extends StatelessWidget {
fillColor: Colors.transparent, fillColor: Colors.transparent,
), ),
), ),
), TextField(
SliverToBoxAdapter(
child: Padding(
padding: const EdgeInsets.all(8.0),
child: TextField(
style: TextStyle(fontSize: 30), style: TextStyle(fontSize: 30),
controller: pathController, controller: pathController,
textAlign: .center, textAlign: .center,
@@ -64,10 +72,7 @@ class ManageProject extends StatelessWidget {
fillColor: Colors.transparent, fillColor: Colors.transparent,
), ),
), ),
), TextField(
),
SliverToBoxAdapter(
child: TextField(
style: TextStyle(fontSize: 30), style: TextStyle(fontSize: 30),
controller: langController, controller: langController,
textAlign: .center, textAlign: .center,
@@ -79,77 +84,57 @@ class ManageProject extends StatelessWidget {
fillColor: Colors.transparent, fillColor: Colors.transparent,
), ),
), ),
), Padding(
SliverList.list( padding: const EdgeInsets.all(8.0),
child: Card(
child: Padding(
padding: const EdgeInsets.all(8.0),
child: Column(
mainAxisAlignment: .spaceEvenly,
crossAxisAlignment: .start,
children: [ children: [
Text("Select Editors:"),
SizedBox(height: 10),
Row( Row(
mainAxisAlignment: .spaceEvenly, mainAxisAlignment: .spaceEvenly,
children: [ children: [
EditorSelector(0, id),
EditorSelector(1, id),
EditorSelector(2, id),
EditorSelector(3, id), EditorSelector(3, id),
SizedBox(width: 10),
EditorSelector(0, id),
], ],
), ),
], SizedBox(height: 10),
),
SliverList.list(
children: [
Row( Row(
mainAxisAlignment: .spaceEvenly,
children: [ children: [
OutlinedButton( EditorSelector(2, id),
child: Text("Delete"), SizedBox(width: 10),
onPressed: () { EditorSelector(1, id),
Navigator.pop(context);
gm.delPrj(id);
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
content: Text("Deleted ${prj.name}"),
duration: Duration(milliseconds: 2350),
),
);
},
),
OutlinedButton(
child: Text("Cancel"),
onPressed: () => Navigator.pop(context),
),
OutlinedButton(
child: Text("Save"),
onPressed: () {
gm.updatePrj(
id,
Project(
nameController.text,
langController.text,
File(pathController.text),
prj.isGit,
),
);
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
content: Text("Updated Project Details"),
duration: Duration(milliseconds: 2500),
),
);
},
// gm.updateEdited(false);
),
], ],
), ),
], ],
), ),
// SliverList.builder( ),
// itemCount: 3, ),
// itemBuilder: (context, index) { ),
// return Placeholder(); // Row(
// children: [
// OutlinedButton(
// child: Text("Delete"),
// onPressed: () {
// Navigator.pop(context);
// gm.delPrj(id);
// ScaffoldMessenger.of(context).showSnackBar(
// SnackBar(
// content: Text("Deleted ${prj.name}"),
// duration: Duration(milliseconds: 2350),
// ),
// );
// }, // },
// ), // ),
// ],
// ),
], ],
),
),
); );
} }
} }

View File

@@ -1,13 +1,11 @@
import "package:flutter/material.dart"; import "package:flutter/material.dart";
import "package:prod/models/editor.dart"; import "package:prod/models/editor.dart";
import "package:prod/models/globalModel.dart"; import "package:prod/models/globalModel.dart";
import "package:prod/models/project.dart";
import "package:provider/provider.dart"; import "package:provider/provider.dart";
import "package:yaru/yaru.dart"; import "package:yaru/yaru.dart";
import "package:process_run/shell.dart";
class EditorCard extends StatelessWidget { class EditorCard extends StatelessWidget {
const EditorCard(id, {super.key}) : id = id + 1; const EditorCard(this.id, {super.key});
final int id; final int id;
@override @override

View File

@@ -3,7 +3,6 @@ import "package:prod/models/editor.dart";
import "package:prod/models/globalModel.dart"; import "package:prod/models/globalModel.dart";
import "package:prod/models/project.dart"; import "package:prod/models/project.dart";
import "package:provider/provider.dart"; import "package:provider/provider.dart";
import "package:yaru/yaru.dart";
class EditorSelector extends StatelessWidget { class EditorSelector extends StatelessWidget {
const EditorSelector(this.turns, this.id, {super.key}); const EditorSelector(this.turns, this.id, {super.key});
@@ -23,12 +22,15 @@ class EditorSelector extends StatelessWidget {
quarterTurns: turns, quarterTurns: turns,
), ),
onSelected: (a) { onSelected: (a) {
// print("$a");
prj.setEditor(turns, a ?? ""); prj.setEditor(turns, a ?? "");
gm.updatePrj(id, prj); gm.updatePrj(id, prj);
}, },
dropdownMenuEntries: Provider.of<GlobalModel>(context).editors.map((a) { dropdownMenuEntries:
[
const Editor("", "None", "", "", ""),
...Provider.of<GlobalModel>(context).editors,
].map((a) {
return DropdownMenuEntry( return DropdownMenuEntry(
label: a.name, label: a.name,
labelWidget: Column( labelWidget: Column(

View File

@@ -10,15 +10,6 @@ class EditorFAB extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return FloatingActionButton( return FloatingActionButton(
onPressed: () { onPressed: () {
// gm.add(
// Project.validated(
// "Kimi",
// "Rust",
// "/home/arrow/Gitted/cowin",
// [],
// true,
// ),
// );
TextEditingController nameController = TextEditingController(); TextEditingController nameController = TextEditingController();
TextEditingController commandController = TextEditingController(); TextEditingController commandController = TextEditingController();
TextEditingController commandTemplateController = TextEditingController commandTemplateController =

View File

@@ -13,7 +13,11 @@ class LauncherButton extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
// print("EDITOR ID: $eid"); // print("EDITOR ID: $eid");
GlobalModel gm = Provider.of<GlobalModel>(context, listen: false); GlobalModel gm = Provider.of<GlobalModel>(context, listen: false);
final Editor edt = gm.nthEdt(gm.getEdtPosFromID(eid)); final int enumb = gm.getEdtPosFromID(eid);
if (enumb == -1) {
return Container();
}
final Editor edt = gm.nthEdt(enumb);
// print("GRABBED EDITOR: ${edt.name}"); // print("GRABBED EDITOR: ${edt.name}");
return eid == "" return eid == ""
? Container() ? Container()

View File

@@ -2,6 +2,7 @@ import "package:flutter/material.dart";
import "package:prod/models/editor.dart"; import "package:prod/models/editor.dart";
import "package:prod/models/globalModel.dart"; import "package:prod/models/globalModel.dart";
import "package:prod/models/project.dart"; import "package:prod/models/project.dart";
import "package:prod/views/managePrj.dart";
import "package:prod/widgets/launcherButton.dart"; import "package:prod/widgets/launcherButton.dart";
import "package:provider/provider.dart"; import "package:provider/provider.dart";
import "package:yaru/yaru.dart"; import "package:yaru/yaru.dart";
@@ -18,8 +19,9 @@ class ProjectCard extends StatelessWidget {
return InkWell( return InkWell(
onHover: (st) => gm.setHoverShow(id, st), onHover: (st) => gm.setHoverShow(id, st),
borderRadius: .circular(kYaruContainerRadius), borderRadius: .circular(kYaruContainerRadius),
onTap: () async { onTap: () {
await Navigator.pushNamed(context, "/manageprj", arguments: id); // await Navigator.pushNamed(context, "/manageprj", arguments: id);
showDialog(context: context, builder: (context) => ManageProject(id));
}, },
child: Card( child: Card(
// decoration: BoxDecoration( // decoration: BoxDecoration(
@@ -77,14 +79,14 @@ class ProjectCard extends StatelessWidget {
children: [ children: [
Column( Column(
children: [ children: [
LauncherButton(prj.e0, prj.path.path), LauncherButton(prj.e3, prj.path.path),
LauncherButton(prj.e1, prj.path.path), LauncherButton(prj.e2, prj.path.path),
], ],
), ),
Column( Column(
children: [ children: [
LauncherButton(prj.e2, prj.path.path), LauncherButton(prj.e0, prj.path.path),
LauncherButton(prj.e3, prj.path.path), LauncherButton(prj.e1, prj.path.path),
], ],
), ),
], ],

View File

@@ -1,39 +1,15 @@
name: prod name: prod
description: "A new Flutter project." description: "Simple Dashboard to bookmark projects with custom editors."
# The following line prevents the package from being accidentally published to publish_to: "none"
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: "none" # Remove this line if you wish to publish to pub.dev
# The following defines the version and build number for your application. version: 0.0.1
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.0.0+1
environment: environment:
sdk: ^3.10.8 sdk: ^3.10.8
# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
# consider running `flutter pub upgrade --major-versions`. Alternatively,
# dependencies can be manually updated by changing the version numbers below to
# the latest version available on pub.dev. To see which dependencies have newer
# versions available, run `flutter pub outdated`.
dependencies: dependencies:
flutter: flutter:
sdk: flutter sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.8
process_run: ^1.3.0 process_run: ^1.3.0
yaru: ^9.0.1 yaru: ^9.0.1
path: ^1.9.1 path: ^1.9.1
@@ -45,49 +21,5 @@ dev_dependencies:
flutter_test: flutter_test:
sdk: flutter sdk: flutter
# The "flutter_lints" package below contains a set of recommended lints to
# encourage good coding practices. The lint set provided by the package is
# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter packages.
flutter: flutter:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
uses-material-design: true uses-material-design: true
# To add assets to your application, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/to/resolution-aware-images
# For details regarding adding assets from package dependencies, see
# https://flutter.dev/to/asset-from-package
# To add custom fonts to your application, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts from package dependencies,
# see https://flutter.dev/to/font-from-package