Alex Wallen 243f80b6d5
[chore] svg improvements (#3145)
* chore: remove use of svgWidget()

* refactor: redundant code in svg

* feat: add generator to generate flowy_svgs.g.dart

* chore: reference new package in pubspec

* chore: remove svg widget from flowy_infra

* refactor: update usage in flowy_infra_ui

* refactor: usage in appflowy_flutter

* fix: error with script not running

* fix: error with script not running

* fix: use unix style file path

* feat: use generation script for flowy svgs

* feat: add task

* fix: add required missing semicolon

* fix: rebase errors

* feat: update generate build script

* fix: solve duplicate entries in the generated file

* fix: compilation errors

* fix: replace all spaces with an underscore

* feat: use FlowySvgs

* feat: reduce assets and simplify

* refactor: do not return empty svg widget

* fix: rebase errors

* fix: analyzer warnings

* chore: remove flowy_icons from tracking

* chore: fix generate flowy icons script linux

* chore: macos/linux script

* chore: add rsync

---------

Co-authored-by: Mathias Mogensen <mathiasrieckm@gmail.com>
Co-authored-by: Mathias Mogensen <mathias@appflowy.io>
2023-08-14 10:34:01 -10:00

59 lines
1.2 KiB
YAML

name: flowy_infra_ui
description: A new flutter plugin project.
version: 0.0.1
homepage: https://appflowy.io
publish_to: "none"
environment:
sdk: ">=3.0.0 <4.0.0"
flutter: ">=3.10.1"
dependencies:
flutter:
sdk: flutter
# Thirdparty packages
dartz:
provider: ^6.0.5
styled_widget: ^0.4.1
equatable: ^2.0.5
animations: ^2.0.7
loading_indicator: ^3.1.0
async:
url_launcher: ^6.1.11
# Federated Platform Interface
flowy_infra_ui_platform_interface:
path: flowy_infra_ui_platform_interface
flowy_infra_ui_web:
path: flowy_infra_ui_web
appflowy_popover:
path: ../appflowy_popover
flowy_infra:
path: ../flowy_infra
flowy_svg:
path: ../flowy_svg
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
flutter:
plugin:
platforms:
# TODO: uncomment android part will fail the Linux build process, will resolve later
# android:
# package: com.example.flowy_infra_ui
# pluginClass: FlowyInfraUIPlugin
ios:
pluginClass: FlowyInfraUIPlugin
macos:
pluginClass: FlowyInfraUIPlugin
windows:
pluginClass: FlowyInfraUIPlugin
linux:
pluginClass: FlowyInfraUIPlugin
web:
default_package: flowy_infra_ui_web