15 lines
418 B
Plaintext
15 lines
418 B
Plaintext
# snippet wb "Usecase for widgetbook"
|
|
# // coverage:ignore-start
|
|
# @UseCase(name: '$1', type: $1)
|
|
# Widget $2(BuildContext context) {
|
|
# return $3;
|
|
# }
|
|
# // coverage:ignore-end
|
|
#
|
|
snippet tmt "Theme textTheme"
|
|
Theme.of(context).textTheme.$1
|
|
snippet phr "AppLocalizations"
|
|
AppLocalizations.of(context)!.$1
|
|
snippet imploc "Import AppLocalizations"
|
|
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
|