-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cat-voices): Discovery page layout (#1577)
* feat: hero-section header * feat: creating discovery page layout for f14 * fix: remove unused keys for widget * feat: adding to proposalViewmodel isfavorite param * chore: removing guard on proposals page * feat(cat-voices): Current campaign - Discovery Page (#1614) * feat: making section hero widget more generic * chore: remove unused file * fix: typo * feat: creating ui layout for current campaign * feat: adding timeline card ui layout * feat: adding idea journey * fix: styling * fix: formatting * chore: making changes acording to reviews * fix: styling * chore: delete unused todos * feat(cat-voices): Hero section - discovery page (#1574) * feat: making section hero widget more generic * chore: remove unused file * fix: typo * feat: adding didupdatewidget * chore: moving init func to other widget * fix: styling * feat: adding _effectiveController * fix: mounted check * fix: formatting
- Loading branch information
Showing
27 changed files
with
1,601 additions
and
454 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
catalyst_voices/apps/voices/lib/common/ext/build_context_ext.dart
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:catalyst_voices_brands/catalyst_voices_brands.dart'; | ||
import 'package:flutter/material.dart'; | ||
|
||
extension BuildContextThemeExt on BuildContext { | ||
ThemeData get theme => Theme.of(this); | ||
TextTheme get textTheme => theme.textTheme; | ||
ColorScheme get colorScheme => theme.colorScheme; | ||
VoicesColorScheme get colors => theme.colors; | ||
} |
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,3 +1,4 @@ | ||
export 'brand_ext.dart'; | ||
export 'build_context_ext.dart'; | ||
export 'space_ext.dart'; | ||
export 'string_ext.dart'; |
7 changes: 7 additions & 0 deletions
7
catalyst_voices/apps/voices/lib/common/formatters/amount_formatter.dart
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,7 @@ | ||
import 'package:intl/intl.dart'; | ||
|
||
abstract class AmountFormatter { | ||
static String decimalFormat(num value) { | ||
return NumberFormat.decimalPattern().format(value); | ||
} | ||
} |
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
Oops, something went wrong.