This file contains hidden or 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
| import 'package:flutter/material.dart'; | |
| extension BuildContextExtensions on BuildContext { | |
| ThemeData get theme => Theme.of(this); | |
| TextTheme get textTheme => theme.textTheme; | |
| ColorScheme get colorScheme => theme.colorScheme; | |
| DefaultTextStyle get defaultTextStyle => DefaultTextStyle.of(this); |
This file contains hidden or 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
| name: monorepo_example | |
| packages: | |
| - packages/* | |
| - apps/* | |
| scripts: | |
| analyze: | |
| exec: dart analyze . | |
| generate-run-config: |
This file contains hidden or 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
| #!/bin/bash | |
| # Function to copy and modify the run configuration files | |
| copy_run_configs() { | |
| local app_name="$1" | |
| local source_dir="./apps/$app_name/.idea/runConfigurations" | |
| local destination_dir="./.idea/runConfigurations" | |
| # Create destination directory if it doesn't exist | |
| mkdir -p "$destination_dir" |
This file contains hidden or 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
| #!/bin/bash | |
| # Function to copy and modify the run configuration files | |
| copy_run_configs() { | |
| local app_name="$1" | |
| local source_dir="./apps/$app_name/.idea/runConfigurations" | |
| local destination_dir="./.idea/runConfigurations" | |
| # Create destination directory if it doesn't exist | |
| mkdir -p "$destination_dir" |
This file contains hidden or 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
| melos boostrap |
This file contains hidden or 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
| cd packages | |
| very_good create flutter_package bk_ticketing --desc "Ticketing package" | |
| very_good create flutter_package bk_customers --desc "Customers package" | |
| very_good create flutter_package bk_ui_kit --desc "UI Kit package" | |
| very_good create dart_package bk_utilities --desc "Utilities package" |
This file contains hidden or 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
| cd apps | |
| very_good create flutter_app booking_app --desc "Just another booking app" --application-id "com.adityadroid.booking" | |
| very_good create flutter_app merchant_app --desc "Just another merchant app" --application-id "com.adityadroid.merchant" |
This file contains hidden or 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
| name: monorepo_example | |
| packages: | |
| - packages/* | |
| - apps/* | |
| scripts: | |
| analyze: | |
| exec: dart analyze . |
This file contains hidden or 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
| name: monorepo_example | |
| environment: | |
| sdk: '>=2.18.0 <3.0.0' | |
| dev_dependencies: | |
| melos: ^3.0.1 |
This file contains hidden or 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
| firebase-test-lab-run: | |
| steps: | |
| - activate-ssh-key@4: {} | |
| - git-clone@8: {} | |
| - flutter-installer@0: | |
| inputs: | |
| - version: 3.3.10 | |
| - is_update: 'false' | |
| - [email protected]: | |
| inputs: |
NewerOlder