Last updated:
0 purchases
flutter bright ui
BrightUI #
BrightUI is a Flutter module that contains UI elements/widgets that all of our Flutter apps use.
How to add BrightServices to existing Flutter app: #
Add flutter_bright_ui as a submodule to your project by running the following command in the root of your project:
git submodule add [email protected]:brighthr/flutter_bright_ui.git
copied to clipboard
Update your project's .gitmodules file to relative path to submodule:
[submodule "flutter_bright_ui"]
path = flutter_bright_ui
url = ../flutter_bright_ui.git
copied to clipboard
Pull the submodule into your project:
git submodule update --remote
In order to pull a specific branch or tag you need to navigate to the submodule and fetch it manually.
In this example we are pulling a tag of version 1.2.0:
# Navigate to submodule directory within your project
cd flutter_bright_ui
git fetch
git checkout 1.2.0
git pull
flutter pub get
copied to clipboard
Useful information on working with submodules can be found here: https://devconnected.com/how-to-add-and-update-git-submodules/
Update pubspec.yml in your project to include a reference:
...
dependencies:
flutter:
sdk: flutter
...
flutter_bright_ui:
path: ./flutter_bright_ui
...
copied to clipboard
Pipelines: #
We have one pipeline names tests.yaml that runs unit tests and uploads a code coverage report to CodeCov
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.