Files
lunasea/lib/core/ui/shape.dart
Jagandeep Brar bb725ce056 fix(uiux): Major reimplementation of tiles, refactoring and tightening of UI (#525)
* fix(database): Use native extension instead of describeEnum
* new(sonarr): [Catalogue] Previous airing sorting options
* splash: Rebuild Android & iOS splash screens
* changelog: Refactor changelog sheet
* Continued WIP Polish of UI
* chore: Reintegrate pods
* calendar: Added second line for Lidarr/Radarr entries
* settings: Show quick actions information as banner block
* lidarr: Add support for monitoring options on add, posters in result list
* uiux: Fade edges of scrollable text
* drawer: Restyle header
* Remove redundant body texts in edit/add content
* macos: Set window size & alignment
* settings: Add description banner block for profiles
2021-12-22 13:07:28 -06:00

18 lines
574 B
Dart

import 'package:flutter/material.dart';
import 'package:lunasea/core.dart';
class LunaShapeBorder extends RoundedRectangleBorder {
LunaShapeBorder._internal({
bool useBorder = false,
}) : super(
borderRadius: BorderRadius.circular(LunaUI.BORDER_RADIUS),
side: useBorder
? const BorderSide(color: LunaColours.white10)
: BorderSide.none,
);
factory LunaShapeBorder.rounded() => LunaShapeBorder._internal();
factory LunaShapeBorder.roundedWithBorder() =>
LunaShapeBorder._internal(useBorder: true);
}