Skip to content

Commit

Permalink
feat: update flutter packages
Browse files Browse the repository at this point in the history
  • Loading branch information
minikin committed Nov 16, 2023
1 parent fe4bcb4 commit 5bafbc2
Show file tree
Hide file tree
Showing 24 changed files with 198 additions and 16 deletions.
26 changes: 24 additions & 2 deletions catalyst_voices/lib/dummy/home_screen.dart
Original file line number Diff line number Diff line change
@@ -1,15 +1,37 @@
import 'package:catalyst_voices/dummy/dummy.dart';
import 'package:catalyst_voices_assets/catalyst_voices_assets.dart';
import 'package:flutter/material.dart';

final class HomeScreen extends StatelessWidget {
const HomeScreen({super.key});

@override
Widget build(BuildContext context) {
return const Scaffold(
return Scaffold(
key: WidgetKeys.homeScreen,
body: Center(
child: Text('Catalyst Voices'),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
const Text(
'Catalyst Voices',
style: TextStyle(
color: VoicesColors.purpleGradientStart,
fontFamily: VoicesFonts.sFPro,
fontSize: 32,
),
),
const SizedBox(height: 20),
SizedBox(
height: 200,
width: 200,
child: Image.asset(
VoicesAssets.images.dummyCatalystVoices.path,
package: 'catalyst_voices_assets',
),
),
],
),
),
);
}
Expand Down
5 changes: 5 additions & 0 deletions catalyst_voices/packages/catalyst_voices_assets/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
# Catalyst Voices Assets


```sh
dart run build_runner build
```
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
class CatalystVoicesAssets {
/// {@macro catalyst_voices_assets}
const CatalystVoicesAssets();
}
export 'package:catalyst_voices_assets/src/assets.gen.dart';
export 'package:catalyst_voices_assets/src/colors.gen.dart';
export 'package:catalyst_voices_assets/src/fonts.gen.dart';

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 3 additions & 6 deletions catalyst_voices/packages/catalyst_voices_assets/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: catalyst_voices_assets
description: A Very Good Project created by Very Good CLI.
description: A Catalyst Voices Assets.
version: 0.1.0+1
publish_to: none

Expand All @@ -12,10 +12,8 @@ dependencies:
sdk: flutter

dev_dependencies:
flutter_test:
sdk: flutter
build_runner: ^2.1.11
flutter_gen_runner: ^5.2.0
flutter_gen_runner: ^5.3.2

flutter:
uses-material-design: true
Expand All @@ -29,8 +27,7 @@ flutter:
weight: 600

flutter_gen:
output: lib/generated/
line_length: 100
output: lib/src/
assets:
enabled: true
outputs:
Expand Down
4 changes: 3 additions & 1 deletion catalyst_voices/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ environment:

dependencies:
bloc: ^8.1.2
catalyst_voices_assets:
path: ./packages/catalyst_voices_assets
flutter:
sdk: flutter
flutter_bloc: ^8.1.3
Expand All @@ -19,7 +21,7 @@ dependencies:
dev_dependencies:
bloc_test: ^9.1.4
catalyst_analysis:
path: ../catalyst_voices_packages/packages/catalyst_analysis
path: ../catalyst_voices_packages/catalyst_analysis
flutter_test:
sdk: flutter
integration_test:
Expand Down
5 changes: 2 additions & 3 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ repository: https://github.com/input-output-hk/catalyst-voices

packages:
- catalyst_voices/*
- catalyst_voices_packages/packages/*
- catalyst_voices_packages/packages/*/*
- catalyst_voices_packages/packages/*/*/*
- catalyst_voices/packages/**
- catalyst_voices_packages/**

command:
version:
Expand Down

0 comments on commit 5bafbc2

Please sign in to comment.