-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Create the Agenda04Pixelation01Slide
- Loading branch information
1 parent
b7f7e67
commit c8c9ad2
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
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
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,37 @@ | ||
import 'package:custom_fragment_shader/data/agenda.dart'; | ||
import 'package:custom_fragment_shader/framework/slide_widget.dart'; | ||
import 'package:custom_fragment_shader/templates/title_header_slide.dart'; | ||
import 'package:flutter/material.dart'; | ||
import 'package:go_router/go_router.dart'; | ||
|
||
final class Agenda04Pixelation01Slide extends SlideStatelessWidget { | ||
const Agenda04Pixelation01Slide({super.key}); | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
final theme = Theme.of(context); | ||
final textTheme = theme.textTheme; | ||
final body = Center( | ||
child: Text( | ||
'Pixelation', | ||
style: textTheme.headlineLarge, | ||
), | ||
); | ||
|
||
return TitleHeaderSlide( | ||
title: Agenda.agenda04, | ||
body: body, | ||
); | ||
} | ||
|
||
@override | ||
String get speakerNote => ''' | ||
まずはじめに Pixelation について紹介します。'''; | ||
|
||
@override | ||
GoRouterPageBuilder get pageBuilder => (context, state) => NoTransitionPage( | ||
key: state.pageKey, | ||
restorationId: state.pageKey.value, | ||
child: this, | ||
); | ||
} |