Skip to content

Commit

Permalink
docs: add total loc and make fixes to pres
Browse files Browse the repository at this point in the history
  • Loading branch information
GregoryConrad committed Nov 28, 2023
1 parent 81223d3 commit 7ea0c6c
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions examples/presentation/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,12 @@ class PresentationApp extends StatelessWidget {
),
),
),
FunctionalSlide(
builder: totalLoc,
configuration: FlutterDeckSlideConfiguration(
route: '/conclusion/total-loc',
),
),
FunctionalSlide(
builder: builtWithRearch,
configuration: FlutterDeckSlideConfiguration(
Expand Down Expand Up @@ -683,7 +689,7 @@ FlutterDeckSlide selfReads(BuildContext context) {
items: const [
'Capsules are not always a DAG; they can have self-dependencies!',
'Self-dependencies are achieved via a capsule reading itself',
'Self-reads are equivalent to side effects, if given a rebuild api',
'Self-reads are equivalent to side effects, if given a rebuild API',
],
);
},
Expand Down Expand Up @@ -1351,8 +1357,18 @@ FlutterDeckSlide conclusion(BuildContext context) {
);
}

FlutterDeckSlide totalLoc(BuildContext context) {
return FlutterDeckSlide.bigFact(
title: '4,601 + 1,862 = 6,463',
subtitle: 'Total lines of code (libraries and examples)',
);
}

FlutterDeckSlide builtWithRearch(BuildContext context) {
return FlutterDeckSlide.quote(quote: 'Built with ReArch');
return FlutterDeckSlide.quote(
quote: 'Built with ReArch',
attribution: 'https://tinyurl.com/pres-source',
);
}

FlutterDeckSlide qAndA(BuildContext context) {
Expand Down

0 comments on commit 7ea0c6c

Please sign in to comment.