mirror of
https://gitlab.com/openlp/openlp-mobile-remote.git
synced 2024-12-23 04:12:49 +00:00
20 lines
488 B
Dart
20 lines
488 B
Dart
|
import 'package:flutter/material.dart';
|
||
|
|
||
|
import '../widgets/service_item_bottom_sheet.dart';
|
||
|
|
||
|
class SearchFloatingButton extends StatelessWidget {
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return FloatingActionButton.extended(
|
||
|
label: Text('New service item'),
|
||
|
icon: Icon(Icons.search),
|
||
|
onPressed: () {
|
||
|
showModalBottomSheet<void>(
|
||
|
context: context,
|
||
|
builder: (context) => ServiceItemBottomSheet(),
|
||
|
);
|
||
|
},
|
||
|
);
|
||
|
}
|
||
|
}
|