MediaSentPreviewPageStyle constructor
const
MediaSentPreviewPageStyle({
- AppBarTheme appBarTheme = const AppBarTheme(backgroundColor: Colors.black, shadowColor: Colors.black, surfaceTintColor: Colors.black, titleTextStyle: TextStyle(fontWeight: FontWeight.bold, color: Colors.white, fontSize: 20), elevation: 0, iconTheme: IconThemeData(color: Colors.white), actionsIconTheme: IconThemeData(color: Colors.white)),
- ChatUserAppBarStyle chatUserAppBarStyle = const ChatUserAppBarStyle(profileImageSize: Size(35, 35)),
- Color scaffoldBackgroundColor = Colors.black,
- Color iconColor = Colors.white,
- EditTextFieldStyle textFieldStyle = const EditTextFieldStyle(editTextStyle: TextStyle(fontWeight: FontWeight.normal, color: Colors.white, fontSize: 15), editTextHintStyle: TextStyle(fontWeight: FontWeight.normal, color: Color(0xff7f7f7f), fontSize: 15)),
- FloatingActionButtonThemeData sentIcon = const FloatingActionButtonThemeData(backgroundColor: AppColor.primaryColor, foregroundColor: Colors.white, elevation: 12, iconSize: 21, shape: CircleBorder()),
- TextStyle nameTextStyle = const TextStyle(fontWeight: FontWeight.normal, color: Color(0xff7f7f7f), fontSize: 13),
Implementation
const MediaSentPreviewPageStyle({
this.appBarTheme = const AppBarTheme(
backgroundColor: Colors.black,
shadowColor: Colors.black,
surfaceTintColor: Colors.black,
titleTextStyle: TextStyle(
fontWeight: FontWeight.bold, color: Colors.white, fontSize: 20),
elevation: 0,
iconTheme: IconThemeData(color: Colors.white),
actionsIconTheme: IconThemeData(color: Colors.white)),
this.chatUserAppBarStyle = const ChatUserAppBarStyle(
profileImageSize: Size(35, 35),
),
this.scaffoldBackgroundColor = Colors.black,
this.iconColor = Colors.white,
this.textFieldStyle = const EditTextFieldStyle(
editTextStyle: TextStyle(
fontWeight: FontWeight.normal, color: Colors.white, fontSize: 15),
editTextHintStyle: TextStyle(
fontWeight: FontWeight.normal,
color: Color(0xff7f7f7f),
fontSize: 15)),
this.sentIcon = const FloatingActionButtonThemeData(
backgroundColor: AppColor.primaryColor,
foregroundColor: Colors.white,
elevation: 12,
iconSize: 21,
shape: CircleBorder()),
this.nameTextStyle = const TextStyle(
fontWeight: FontWeight.normal,
color: Color(0xff7f7f7f),
fontSize: 13,
),
});