-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from RedCommander735/develop
Feature: Settings menu
- Loading branch information
Showing
43 changed files
with
1,365 additions
and
315 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,34 @@ | ||
## Changelog: | ||
- Hotfix: Text color was always set to black | ||
- All prices had some rounding errors. Thats fixed now | ||
- Adjusted background color for dark mode | ||
- New settings menu | ||
- General | ||
- Backup | ||
- About | ||
|
||
|
||
## Technical changes: | ||
- fix: text color was set to black | ||
- feat: new custom number formatter | ||
- fix: all numbers should now display correctly | ||
- feat: new settings icon in main menu | ||
- style: adjusted 'filter active' text | ||
- style: dark mode background now fully black | ||
- style: centered page titles | ||
- ci: new dependency to read app version | ||
- feat: first enty on about page in settings | ||
- chore: bump version number | ||
- feat: add settings group and license info | ||
- fix: typo in license | ||
- chore: removed cuppertino_icons and added url_launcher and fontawesome 5 brands | ||
- feat: add fontawesome 5 brands | ||
- fix: add all applicable licenses | ||
- feat: finished about page in settings | ||
- refactor: move all settings components to their own file | ||
- chore: format all documents | ||
- feat: added general settings page | ||
- style: changed all icons to their rounded variants | ||
- style: added spacing below group headline | ||
- chore: add csv and storage perm handler | ||
- feat: new deleteAll and createItems methods | ||
- feat: csv ex and import | ||
- feat: confirmation dialog to prevent accidental loads |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
Font Awesome Free License | ||
------------------------- | ||
|
||
Font Awesome Free is free, open source, and GPL friendly. You can use it for | ||
commercial projects, open source projects, or really almost whatever you want. | ||
Full Font Awesome Free license: https://fontawesome.com/license/free. | ||
|
||
# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/) | ||
In the Font Awesome Free download, the CC BY 4.0 license applies to all icons | ||
packaged as SVG and JS file types. | ||
|
||
# Fonts: SIL OFL 1.1 License (https://scripts.sil.org/OFL) | ||
In the Font Awesome Free download, the SIL OFL license applies to all icons | ||
packaged as web and desktop font files. | ||
|
||
# Code: MIT License (https://opensource.org/licenses/MIT) | ||
In the Font Awesome Free download, the MIT license applies to all non-font and | ||
non-icon files. | ||
|
||
# Attribution | ||
Attribution is required by MIT, SIL OFL, and CC BY licenses. Downloaded Font | ||
Awesome Free files already contain embedded comments with sufficient | ||
attribution, so you shouldn't need to do anything additional when using these | ||
files normally. | ||
|
||
We've kept attribution comments terse, so we ask that you do not actively work | ||
to remove them from files, especially code. They're a great way for folks to | ||
learn about Font Awesome. | ||
|
||
# Brand Icons | ||
All brand icons are trademarks of their respective owners. The use of these | ||
trademarks does not indicate endorsement of the trademark holder by Font | ||
Awesome, nor vice versa. **Please do not use brand logos for any purpose except | ||
to represent the company, product, or service to which they refer.** |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
A HEADS UP ABOUT DUOTONE ICONS ON THE DESKTOP | ||
--------------------------------------------- | ||
|
||
Duotone icons are a bit different to use than other Font Awesome icons at the moment. | ||
|
||
* We currently recommend using the Duotone-specific optimized .svg vector | ||
files. These can be found in the /svgs/duotone folder of this download. | ||
|
||
* Using Ligatures with Duotone Icons is NOT currently recommended - while we've | ||
included a Duotone ligature-based font file in our Pro desktop download, we | ||
can't recommend it as a way to use our icons on the desktop. Read the special | ||
instructions for using duotones with ligatures here - | ||
https://fontawesome.com/how-to-use/on-the-desktop/referencing-icons/duotone-icons#using-ligatures. | ||
|
||
You can read the nitty gritty on the current limitations desktop apps have that | ||
made our Duotone ligature implementation diferent there as well. And our full | ||
Duotone Desktop docs are available at: | ||
|
||
https://fontawesome.com/how-to-use/on-the-desktop/referencing-icons/duotone-icons. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import 'package:flutter/widgets.dart'; | ||
|
||
class FontAwesomeBrands { | ||
FontAwesomeBrands._(); | ||
|
||
static const _kFontFam = 'FontAwesomeBrands'; | ||
|
||
static const IconData github = IconData(0xf09b, fontFamily: _kFontFam); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
class SettingsGroup extends StatelessWidget { | ||
const SettingsGroup({super.key, required this.title, required this.children}); | ||
|
||
final String title; | ||
final List<Widget> children; | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return Column( | ||
children: List.from([ | ||
Row( | ||
children: [ | ||
Padding( | ||
padding: const EdgeInsets.only(left: 16, top: 16, bottom: 4), | ||
child: Text( | ||
title, | ||
style: TextStyle( | ||
color: Theme.of(context).colorScheme.primary, | ||
fontWeight: FontWeight.bold, | ||
fontSize: DefaultTextStyle.of(context).style.fontSize! * 17 / 20), | ||
), | ||
), | ||
], | ||
) | ||
]) | ||
..addAll(children)..add(const Divider( | ||
height: 0, | ||
)), | ||
); | ||
} | ||
} |
Oops, something went wrong.