mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-12 19:53:51 +00:00
37 lines
892 B
Dart
37 lines
892 B
Dart
part of 'users.dart';
|
|
|
|
class _Fab extends StatelessWidget {
|
|
const _Fab({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Container(
|
|
width: 48.0,
|
|
height: 48.0,
|
|
child: RawMaterialButton(
|
|
fillColor: BrandColors.blue,
|
|
shape: CircleBorder(),
|
|
elevation: 0.0,
|
|
highlightElevation: 2,
|
|
child: Icon(
|
|
Icons.add,
|
|
color: Colors.white,
|
|
size: 34,
|
|
),
|
|
onPressed: () {
|
|
showModalBottomSheet<void>(
|
|
context: context,
|
|
isScrollControlled: true,
|
|
backgroundColor: Colors.transparent,
|
|
builder: (BuildContext context) {
|
|
return Padding(
|
|
padding: MediaQuery.of(context).viewInsets,
|
|
child: _NewUser());
|
|
},
|
|
);
|
|
},
|
|
),
|
|
);
|
|
}
|
|
}
|