var themeData = context.theme;
var scaffold = context.scaffold;
var navigator = context.navigator;
var overlay = context.overlay;
var mediaQuery = context.mediaQuery;
var textTheme = context.textTheme;
var colorPrimary = context.primaryColor;
var colorAccent = context.accentColor;
var colorCanvas = context.canvasColor;
var colorBackground = context.BackgroundColor;
context.push((c) => NaxtPage());
context.pop();
var screenSize = context.screenSize;
var screenPadding = context.screenPadding;
context.showSnackBar(SnackBar(content: Tex('text')));
var overlayEntry = context.addOverlay((context){
return Align(
alignment: AlignmentDirectional.bottomStart,
child: Padding(
padding: const EdgeInsets.all(8.0),
child: Text('overlay'),
),
);
});
context.invokeAction(intent);
if(context.form.validate()){
/* ... */
} else {
/* ... */
}
var locale = context.locale