Skip to content

Commit

Permalink
fix: example map gen
Browse files Browse the repository at this point in the history
  • Loading branch information
pd4d10 committed Aug 26, 2019
1 parent 79ddfbc commit f3f6bdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flutter_highlight_gallery/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class _MyHomePageState extends State<MyHomePage> {
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Highlighter(
Highlight(
exampleMap[language],
language: 'dart',
theme: themeMap[theme],
Expand Down
2 changes: 1 addition & 1 deletion tool/flutter-highlight-gallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import path from "path";
import gulp from "gulp";
import through2 from "through2";

export async function example() {
export function example() {
// Generate code example dart files
let code = "var exampleMap = {";
// ["dart"]
Expand Down

0 comments on commit f3f6bdd

Please sign in to comment.