1
2
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
🚀 Flutter_Extend Version 0.3.0 is now live! See our changelog for details.
Eliminate boilerplate and access screen metrics, orientation, and system themes instantly via simple BuildContext getters.
MediaQuery.sizeOf(context).final width = context.screenSize;
final width = context.screenWidth;
// Dynamically size a container to half the screen height
Container(height: context.screenHeight * 0.5);
true if the system theme is dark. final color = context.isDarkMode ? Colors.white : Colors.black;
Brightness current = context.brightness;
Padding(padding: context.safePadding, child: ...);
true if the software keyboard is currently visible (bottom view insets > 0).if (context.isKeyboardVisible) FocusScope.of(context).unfocus();
Was this page helpful?
