mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-07-18 06:26:02 +00:00

* chore: update connectivity plus to 5.0.1 * feat: update favorite status on time * fix: text overflow * feat: implement ... button in editor page * fix: align the icon and the text on the favorite page * feat: enable feedback when tapping icons
28 lines
585 B
Dart
28 lines
585 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class FlowyBoxContainer extends StatelessWidget {
|
|
const FlowyBoxContainer({
|
|
super.key,
|
|
required this.child,
|
|
});
|
|
|
|
final Widget child;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Container(
|
|
margin: const EdgeInsets.symmetric(
|
|
horizontal: 6.0,
|
|
vertical: 8.0,
|
|
),
|
|
decoration: BoxDecoration(
|
|
border: Border.all(
|
|
color: Theme.of(context).colorScheme.onSecondary,
|
|
),
|
|
borderRadius: BorderRadius.circular(8.0),
|
|
),
|
|
child: child,
|
|
);
|
|
}
|
|
}
|