awesome_flutter_extensions 1.1.0 awesome_flutter_extensions: ^1.1.0 copied to clipboard
A Flutter Extension to remove boilerplate when accessing ancestor context properties
import 'package:example/pages/home_page/page.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
fontFamily: 'Roboto',
),
home: const MyHomePage(title: 'Flutter Demo Home Page'),
);
}
}