Skip to content

Commit

Permalink
feat: Create Agenda02AsdfSlide
Browse files Browse the repository at this point in the history
  • Loading branch information
blendthink committed Jan 25, 2024
1 parent a9dfd07 commit 00849d5
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions lib/slides/agenda02/agenda02_asdf_slide.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import 'package:dvm/components/reference.dart';
import 'package:dvm/data/agenda.dart';
import 'package:dvm/gen/assets.gen.dart';
import 'package:dvm/templates/title_header_slide.dart';
import 'package:flutter/material.dart';
import 'package:slidex/components.dart';
import 'package:slidex/slidex.dart';

final class Agenda02AsdfSlide extends SlideWidget {
const Agenda02AsdfSlide({super.key});

@override
Widget build(BuildContext context) {
final scale = context.frameScale;
final body = Center(
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
Assets.asdf.image(
height: 220 * scale,
fit: BoxFit.fitHeight,
),
const ScalerGap(8),
Reference(
uri: Uri.parse('https://asdf-vm.com'),
),
],
),
);
return TitleHeaderSlide(
title: Agenda.agenda02.title,
body: body,
);
}

@override
String get speakerNote => '''
すでに Dart SDK のバージョン管理ツールないのかなと探してみたところ、きちんとメンテナンスされていそうなものは asdf くらいしか見つけることができませんでした。''';
}

0 comments on commit 00849d5

Please sign in to comment.