mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-03 04:18:25 +08:00
* Adding a proposal for new tutorials * fixing and improving the text a little bit * formating and lints * copy button and few improvements * adding super.render on position component * fixing dashbook dependency * Apply suggestions from code review Co-authored-by: Luan Nico <luanpotter27@gmail.com> * pr suggestions * Apply suggestions from code review Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com> * suggestions * fixing wrong merge * reverting analysis options * Update tutorials/space_shooter/lib/steps/1_getting_started/1_flame_game/code.dart Co-authored-by: Luan Nico <luanpotter27@gmail.com> * Update tutorials/space_shooter/lib/steps/1_getting_started/1_flame_game/step.dart * Update tutorials/space_shooter/README.md * Update tutorials/space_shooter/lib/steps/1_getting_started/2_input_and_graphics/tutorial.dart * Update tutorials/space_shooter/lib/steps/1_getting_started/2_input_and_graphics/tutorial.dart * Update tutorials/space_shooter/lib/steps/1_getting_started/2_input_and_graphics/tutorial.dart * Update tutorials/space_shooter/lib/widgets/step_scaffold.dart Co-authored-by: Luan Nico <luanpotter27@gmail.com> * Update tutorials/space_shooter/lib/steps/1_getting_started/1_flame_game/step.dart * Fix formatting * Update to 0.1.5 dashbook * Fix wrong class name RunningFlameStep * Use magic flame_lint * Fix paint and rect in player class description Co-authored-by: Luan Nico <luanpotter27@gmail.com> Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com> Co-authored-by: Lukas Klingsbo (spydon) <me@lukas.fyi>
17 lines
335 B
Dart
17 lines
335 B
Dart
import 'package:dashbook/dashbook.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'steps/1_getting_started/getting_started.dart';
|
|
|
|
void main() {
|
|
final dashbook = Dashbook.dualTheme(
|
|
light: ThemeData.light(),
|
|
dark: ThemeData.dark(),
|
|
initWithLight: false,
|
|
);
|
|
|
|
addGettingStarted(dashbook);
|
|
|
|
runApp(dashbook);
|
|
}
|