make bool param required

This commit is contained in:
shilangyu 2021-02-28 19:24:32 +01:00
parent 5a8da5de18
commit 9a0deb203a
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import 'package:flutter/material.dart';
/// used mostly for pages where markdown editor is used
///
/// brush icon is rotated to look similarly to build icon
Widget markdownModeIcon({bool fancy}) => fancy
Widget markdownModeIcon({@required bool fancy}) => fancy
? const Icon(Icons.build)
: const RotatedBox(
quarterTurns: 1,