public MaterialTextField(IMaterialEntryRenderer element, IFontElement fontElement) { VisualElement.VerifyVisualFlagEnabled(); ClearButtonMode = UITextFieldViewMode.Never; _activeTextinputController = new MTextInputControllerFilled(this); TextInsetsMode = TextInputTextInsetsMode.IfContent; _typographyScheme = CreateTypographyScheme(); _colorScheme = (SemanticColorScheme)CreateColorScheme(); ApplyTypographyScheme(fontElement); ApplyTheme(element); }
public MaterialEntryRenderer() { VisualElement.VerifyVisualFlagEnabled(); _colorScheme = (SemanticColorScheme)CreateColorScheme(); _typographyScheme = CreateTypographyScheme(); }