You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.0 KiB
Dart

import 'package:flutter/material.dart';
class BottomSheetComponent extends StatelessWidget {
final bool isSplash;
const BottomSheetComponent({this.isSplash=false, Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return SafeArea(
child: Container(
decoration: BoxDecoration(
border: Border.all(width: 0, color: isSplash ? Theme.of(context).highlightColor : Colors.white),
color: isSplash ? Theme.of(context).highlightColor : Colors.white,
),
child: SizedBox(
height: 50,
width: MediaQuery.of(context).size.width,
child: Row(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.end,
children: [
Image.asset("assets/icons/logo_siabes.png",
width: 140,
color: isSplash ? Colors.white : Theme.of(context).primaryColor,
height: 33,)
],
),
),
),
);
}
}