This package is simple widgets for FreewillFx Apps.
- Add the latest version of package to your pubspec.yaml and run
flutter pub get
dependencies:
freewill_fx_widgets: ^1.4.8
- Import the package and use in your Flutter App
import 'package: freewill_fx_widgets/fx.dart';
Text widget that you can modify TextStyle:
- FontFamily
- FontSize
- Color
- TextAlign
- FontWeight
- TextOverflow
- Underline
Dialog that you can modify the title of the dialog
- title
- buttonColor
Loading page
- Camera
- Gallery
- Location
- From camera
- From gallery
In showImageBottomSheet -> cropImage = true
Example:
File? file = await showImagePickerBottomSheet(
color: Colors.black,
cropImage: true,
);
setState(() => _image = file);
Example:
Barcode? result = await Get.to(() => FXQrScanner());
if (result != null) {
setState(() => qrResult = result);
}
Button that you can modify the style:
- Title
- TestKey
- BackgroundColor
- Padding
- BorderWidth
- BorderRadius
- BorderWidth
- BorderColor
- Shadow
- TextColor
- FontSize
- Alert Dialog that you can custom your own title, icon, content, button
- Custom switch that you can add text in the switch
- OTP TextField that you can use in automate test
- Custom toast message (e.g. copy to clipboard)
- Back button that you can custom icon, shadow, add circle border
- List of selected button (e.g. filter group in TERMINUS Mobile)
- Select Item page that you can custom selected tag, picker cell, single/multiple select
- custom search bar
- Calendar that made with Syncfusion date range picker
- Template of Bottom Sheet
_ show dialog when have new version