This package has Lots of Small Utility classes, methods and properties for your day to day Flutter coding.

This is a opinionated package with lots of utilities behaving in their own style. Many methods and utilities offer customization. But, few may not. Please raise MR/PR to me or create an enhancement request at https://gitlab.com/adithyank/flutter_cool_ext/-/issues

I will modify and push release next version with your requests.

Features

BuildContext Additional methods

  1. context.mediaQuery will return MediaQuery.of(context)
  2. context.theme will return Theme.of(context);
  3. context.navigator will return Navigator.of(context)
  4. context.scaffoldMessenger will return ScaffoldMessenger.of(context)
  5. context.landscape will return bool that indicates whether the current device orientation is landscape
  6. context.portrait will return bool that indicates whether the current device orientation is portrait

Date utilities

General Utilities

String Additional Methods

One liners to show Toast

Lot of UI Utilies

Widget Additional Methods

WidgetRefresher widget

WidgetReplacer widget