-
Notifications
You must be signed in to change notification settings - Fork 36
widgets:w_text_shadow.dart
Nhan Cao edited this page Jun 8, 2023
·
1 revision
import 'package:flutter/material.dart';
class WTextShadow extends StatelessWidget {
const WTextShadow(this.text, {this.style, this.textAlign, Key? key}) : super(key: key);
final String? text;
final TextStyle? style;
final TextAlign? textAlign;
@override
Widget build(BuildContext context) {
return Text(
text ?? '',
textAlign: textAlign,
style: style?.copyWith(
shadows: <Shadow>[
const Shadow(
blurRadius: 0.0,
color: Colors.white,
),
const Shadow(
blurRadius: 10.0,
color: Colors.white,
),
],
),
);
}
}-
widgets
- o_toast.dart
- w_behide_keyboard.dart
- w_border_shadow.dart
- w_bottom_action_sheet.dart
- w_button_circle.dart
- w_button_inkwell.dart
- w_button_raised_flat.dart
- w_button_rounded.dart
- w_card_rounded.dart
- w_card_shadow.dart
- w_dialog_alert.dart
- w_dialog_delete.dart
- w_divider_line.dart
- w_keyboard_detector.dart
- w_marquee.dart
- w_picker_date.dart
- w_picker_time.dart
- w_picker_value.dart
- w_syspadding.dart
- w_text_shadow.dart