|
|
|
|
@ -31,6 +31,16 @@ import 'package:provider/provider.dart';
|
|
|
|
|
|
|
|
|
|
import '../../../widgets/common_bottom_sheet.dart';
|
|
|
|
|
|
|
|
|
|
/// screen to be used to get the location desired by the user
|
|
|
|
|
/// to place the values in the request.
|
|
|
|
|
/// [confirmButtonString] button text that will be displayed on the button
|
|
|
|
|
/// [titleString] bottom sheet title
|
|
|
|
|
/// [subTitleString] bottom sheet subtitle for details
|
|
|
|
|
/// [onCrossClicked] if something has to be done if the user close the screen
|
|
|
|
|
/// [isGmsAvailable] shows if the device that is running the application is GMS or HMS
|
|
|
|
|
///
|
|
|
|
|
/// it results [true] if the user clicks on the submit button
|
|
|
|
|
/// and [false] if the user closes the screen without giving the consent to proceed for the request
|
|
|
|
|
class MapUtilityScreen extends StatelessWidget {
|
|
|
|
|
|
|
|
|
|
final String confirmButtonString;
|
|
|
|
|
|