forked from eatvio/eatvio_app
New screen names
This commit is contained in:
23
lib/theme/custom_button_style.dart
Normal file
23
lib/theme/custom_button_style.dart
Normal file
@@ -0,0 +1,23 @@
|
||||
import 'dart:ui';
|
||||
import 'package:eatvio_app/core/app_export.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
/// A class that offers pre-defined button styles for customizing button appearance.
|
||||
class CustomButtonStyles {
|
||||
// Outline button style
|
||||
static ButtonStyle get outlinePrimaryTL15 => OutlinedButton.styleFrom(
|
||||
backgroundColor: appTheme.blueA400,
|
||||
side: BorderSide(
|
||||
color: theme.colorScheme.primary,
|
||||
width: 1,
|
||||
),
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(15.h),
|
||||
),
|
||||
);
|
||||
// text button style
|
||||
static ButtonStyle get none => ButtonStyle(
|
||||
backgroundColor: MaterialStateProperty.all<Color>(Colors.transparent),
|
||||
elevation: MaterialStateProperty.all<double>(0),
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user