flutter_widget_function 2.1.0 copy "flutter_widget_function: ^2.1.0" to clipboard
flutter_widget_function: ^2.1.0 copied to clipboard

Custom Widgets and Functions, Widgets and Functions easy to access, reuse and no longer code.

flutter_widget_function #

Custom Widgets and Functions, Widgets and Functions easy to access, reuse and no longer code.

Using #

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile and web development, and a full API reference.

Installation #

First, add flutter_widget_function as a dependency in your pubspec.yaml file.

In your flutter project add the dependency:

dependencies:
  ...
  flutter_widget_function:

For help getting started with Flutter, view the online documentation.

Example #

Please follow this example here.

Functions #

Utils Function #

Utils.equals()
Utils.isNullOREmpty()
Utils.isNullOREmptyORZero()

Extension Function #

String.parseInt()
String.parseDouble()
String.parseBool()
int.parseBool()
TextEditingController.trimText()

Http Overrides #

If you Enable SSL certificate verification for api call

HttpSSLCertificate.enable();

If you Disable SSL certificate verification for api call

HttpSSLCertificate.disable();

Progress Dialog #

ProgressDialog _dialog = ProgressDialog(context);
_dialog.show();
_dialog.dismiss();

Widgets #

Responsive Layout #

ResponsiveLayout(
  mobileBody: Widget,
  tabletBody: Widget,
  desktopBody: Widget
);

Keyboard Dismiss #

KeyboardDismiss(
  child: MaterialApp(
    home: const MyApp()),
);

Text Field #

DDTextField(labelText: "Value", hintText: "Value")

Card #

DDCard(
  color: Colors.blue,
  shadowColor: Colors.grey,
  radius: 20,
  blur: 15
)

Tap #

Tap(
  onTap: () {
    //your functional code  
  },
  child: child
)

Display Touch (Enable / Disable) #

Touch(
  disable: true,
  child: child
)

Flex Width and Height #

FlexWidth(
  child: child
)

FlexHeight(
child: child
)
9
likes
160
pub points
73%
popularity
screenshot

Publisher

verified publisherdatadirr.com

Custom Widgets and Functions, Widgets and Functions easy to access, reuse and no longer code.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface

More

Packages that depend on flutter_widget_function