flutter_widget_function 1.4.0
flutter_widget_function: ^1.4.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.
Responsive Layout #
ResponsiveLayout(
mobileBody: Widget,
tabletBody: Widget,
desktopBody: Widget
);
Keyboard Dismiss #
KeyboardDismiss(
child: MaterialApp(
home: const MyApp()),
);
Text Field #
DDTextField(labelText: "Value", hintText: "Value")
Progress Dialog #
ProgressDialog _dialog = ProgressDialog(context);
_dialog.show();
_dialog.dismiss();