FocusThemeData.fromTheme constructor
FocusThemeData.fromTheme(
- FluentThemeData theme
Implementation
factory FocusThemeData.fromTheme(FluentThemeData theme) {
return FocusThemeData(
borderRadius: BorderRadius.circular(6.0),
primaryBorder: BorderSide(
width: 2,
color: theme.resources.focusStrokeColorOuter,
),
secondaryBorder: BorderSide(
color: theme.resources.focusStrokeColorInner,
),
glowColor: theme.accentColor.withOpacity(0.15),
glowFactor: 0.0,
renderOutside: true,
);
}